diff options
Diffstat (limited to 'net-p2p/saku/saku-3.11.0-r1.ebuild')
-rw-r--r-- | net-p2p/saku/saku-3.11.0-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-p2p/saku/saku-3.11.0-r1.ebuild b/net-p2p/saku/saku-3.11.0-r1.ebuild new file mode 100644 index 000000000000..f04cbd8797d0 --- /dev/null +++ b/net-p2p/saku/saku-3.11.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +PYTHON_DEPEND="2:2.5" + +inherit distutils eutils user + +DESCRIPTION="a clone of P2P anonymous BBS shinGETsu" +HOMEPAGE="http://shingetsu.info/" +SRC_URI="mirror://sourceforge/shingetsu/${P}.tar.gz" + +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/cheetah" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup saku + enewuser saku -1 -1 /var/run/saku saku +} + +src_prepare() { + sed -i -e "/^prefix/s:/usr:${EPREFIX}/usr:" file/saku.ini || die + sed -i -e "s:root/share/doc/saku/:root/share/doc/${PF}/:" setup.py || die +} + +src_install() { + distutils_src_install + + dodir /etc/saku + insinto /etc/saku + doins "${FILESDIR}"/saku.ini + + doinitd "${FILESDIR}"/saku + + diropts -o saku -g saku + dodir /var/log/saku + dodir /var/spool/saku +} |