/[gentoo-x86]/net-p2p/saku/saku-3.11.0-r1.ebuild
Gentoo

Contents of /net-p2p/saku/saku-3.11.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 8 06:25:39 2014 UTC (3 years, 9 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Inherit the user eclass for enewuser/etc...

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/saku/saku-3.11.0-r1.ebuild,v 1.1 2013/01/12 04:56:54 naota Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2:2.5"
8
9 inherit distutils eutils user
10
11 DESCRIPTION="a clone of P2P anonymous BBS shinGETsu"
12 HOMEPAGE="http://shingetsu.info/"
13 SRC_URI="mirror://sourceforge/shingetsu/${P}.tar.gz"
14
15 LICENSE="BSD-2 GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 DEPEND="dev-python/cheetah"
21 RDEPEND="${DEPEND}"
22
23 pkg_setup() {
24 enewgroup saku
25 enewuser saku -1 -1 /var/run/saku saku
26 }
27
28 src_prepare() {
29 sed -i -e "/^prefix/s:/usr:${EPREFIX}/usr:" file/saku.ini || die
30 sed -i -e "s:root/share/doc/saku/:root/share/doc/${PF}/:" setup.py || die
31 }
32
33 src_install() {
34 distutils_src_install
35
36 dodir /etc/saku
37 insinto /etc/saku
38 doins "${FILESDIR}"/saku.ini
39
40 doinitd "${FILESDIR}"/saku
41
42 diropts -o saku -g saku
43 dodir /var/log/saku
44 dodir /var/spool/saku
45 }

  ViewVC Help
Powered by ViewVC 1.1.20