Files
@ df976a178b95
Branch filter:
Location: portage-overlay.git/net-proxy/punjab/punjab-0.6.ebuild - annotation
df976a178b95
1.3 KiB
application/vnd.gentoo.ebuild
Bump EAPI to 5 for whole overlay
3d8228355825 3d8228355825 3d8228355825 3d8228355825 df976a178b95 df976a178b95 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit distutils
DESCRIPTION="Jabber HTTP-Binding (JEP-0124)"
HOMEPAGE="http://punjab.sourceforge.net/"
SRC_URI="mirror://sourceforge/punjab/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-python/twisted-xish-0.1.0
>=dev-python/twisted-words-0.1.0
>=dev-python/twisted-web-0.5.0
>=dev-python/twisted-conch-0.5.0
dev-python/soappy"
RDEPEND="virtual/jabber-server"
src_compile() {
distutils_src_compile
}
src_install() {
distutils_src_install
insinto /etc/conf.d
newins ${FILESDIR}/punjab.conf punjab
exeinto /etc/init.d
newexe ${FILESDIR}/punjab.initd punjab
keepdir /var/spool/jabber/punjab
fowners jabber:jabber /var/spool/jabber/punjab
fperms 750 /var/spool/jabber/punjab
keepdir /var/spool/jabber/punjab/html
fowners jabber:jabber /var/spool/jabber/punjab/html
fperms 750 /var/spool/jabber/punjab/html
}
pkg_postinst() {
echo
einfo "To be able to run punjab proxy server you need"
einfo "to add it to the default runlevel using"
einfo "rc-update add punjab default"
einfo "and start it with /etc/init.d/punjab start"
einfo "Don't forget to edit /etc/conf.d/punjab conf file as appropriate"
echo
}
|