gentoo-overlay/net-im/palaver/palaver-9999.ebuild

44 lines
1.1 KiB
Bash
Raw Normal View History

2018-02-16 00:00:19 +01:00
# Copyright 1999-2018 Gentoo Foundation
2012-07-19 02:10:14 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
2015-10-02 14:06:01 +02:00
PYTHON_COMPAT=( python2_7 )
2012-07-19 02:10:14 +02:00
inherit distutils-r1 eutils python-r1 git-r3
2012-07-19 02:10:14 +02:00
DESCRIPTION="Multi-user chat component for jabber implemented in python"
2014-10-23 00:38:22 +02:00
HOMEPAGE="https://github.com/fritteli/palaver"
EGIT_REPO_URI="git://github.com/fritteli/palaver"
2012-07-19 02:10:14 +02:00
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
2015-10-05 09:50:24 +02:00
DEPEND="${PYTHON_DEPS}
net-im/jabber-base"
RDEPEND="${PYTHON_DEPS}
>=dev-python/twisted-core-2.4.0[${PYTHON_USEDEP}]
>=dev-python/twisted-words-0.5[${PYTHON_USEDEP}]
2012-07-19 02:20:41 +02:00
${DEPEND}"
2012-07-19 02:10:14 +02:00
src_compile() {
# nothing to be done here?
2015-10-05 09:50:24 +02:00
distutils-r1_src_compile
2012-07-19 02:10:14 +02:00
}
src_install() {
2015-10-05 09:50:24 +02:00
distutils-r1_src_install
2012-07-19 02:10:14 +02:00
insinto /etc/jabber
2013-03-22 00:41:58 +01:00
newins "${FILESDIR}/"palaver.conf ${PN}.conf
fperms 600 /etc/jabber/${PN}.conf
fowners jabber:jabber /etc/jabber/${PN}.conf
2012-07-19 02:10:14 +02:00
newinitd "${FILESDIR}/${PN}-initd" ${PN}
newconfd "${FILESDIR}/${PN}-confd" ${PN}
2012-07-19 02:10:14 +02:00
}
pkg_postinst() {
2013-03-22 00:41:58 +01:00
einfo "A sample config file has been installed into /etc/jabber/${PN}.conf."
2012-07-19 02:10:14 +02:00
einfo "Please adjust the settings as needed."
}