added git-ebuild
This commit is contained in:
parent
c068741056
commit
185ff29879
2 changed files with 52 additions and 0 deletions
|
@ -3,3 +3,4 @@ DIST master 137185 RMD160 28ceb8a30d861e339fd397d8e652f41d967e2e86 SHA1 b005d6c1
|
|||
DIST palaver-0.6.tar.bz2 71431 RMD160 d1eac261b4ea9263d6992d17d5498f27b054643b SHA1 6e33a77322a432f5c20e6b05dea93ee10d6e4d5d SHA256 437a32250f7ba2a7b07e1dae894893ae4bf32e8a7d8d8e97a4803c9fee4dde26
|
||||
EBUILD palaver-0.6-r3.ebuild 1428 RMD160 43c5bae7622184f957d39f06d5ddc8949525a141 SHA1 2e5208f49fba67b42a04cb857f1e8e63627ac6f5 SHA256 177b114e9b224b220c925a2d25db72a6903fc288e884f757dea8648795b1b09d
|
||||
EBUILD palaver-0.6-r4.ebuild 1507 RMD160 98d01b524a5e1978700c6044bccca31eb4314539 SHA1 96f436ade61ba3f77253a3199ef1cdc59e125a60 SHA256 29d31475413a23f12caf6a2e88f5237202a1405672218d472ef1b8548b6667a1
|
||||
EBUILD palaver-9999.ebuild 1344 RMD160 0a2b25a522b7265a7ab3b3169a1d606c27cc51b5 SHA1 3db2e18481ddfe7269450e28c1ea256a19f2b32e SHA256 d961f47a162c871998cfb8af6888d62343db52f1cd796970cf3718ba0a47e13b
|
||||
|
|
51
net-im/palaver/palaver-9999.ebuild
Normal file
51
net-im/palaver/palaver-9999.ebuild
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python git-2
|
||||
DESCRIPTION="Multi-user chat component for jabber implemented in python"
|
||||
HOMEPAGE="https://github.com/twonds/palaver"
|
||||
EGIT_REPO_URI="git://github.com/twonds/palaver"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="net-im/jabber-base"
|
||||
RDEPEND=">=dev-python/twisted-2.4.0
|
||||
>=dev-python/twisted-words-0.5
|
||||
${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
# nothing to be done here?
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
insinto /etc/jabber
|
||||
newins example-config.xml ${PN}.xml
|
||||
fperms 600 /etc/jabber/${PN}.xml
|
||||
fowners jabber:jabber /etc/jabber/${PN}.xml
|
||||
dosed \
|
||||
"s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
|
||||
/etc/jabber/${PN}.xml
|
||||
|
||||
# dosed \
|
||||
# "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
|
||||
# /etc/jabber/${PN}.xml
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-initd" ${PN}
|
||||
# dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "A sample config file has been installed into /etc/jabber/${PN}.xml."
|
||||
einfo "Please adjust the settings as needed."
|
||||
einfo "After that, you MUST create a TAP-file for twisted in order to start Palaver, like this:"
|
||||
einfo "# cd /etc/jabber"
|
||||
einfo "# mktap palaver -c palaver.xml"
|
||||
}
|
Loading…
Reference in a new issue