/[gentoo-x86]/net-misc/spread/spread-4.1.0.ebuild
Gentoo

Contents of /net-misc/spread/spread-4.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jan 8 06:32:47 2014 UTC (6 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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-misc/spread/spread-4.1.0.ebuild,v 1.4 2012/07/12 15:31:56 axs Exp $
4
5 EAPI="4"
6 inherit eutils user
7
8 MY_PN="spread-src"
9
10 DESCRIPTION="Distributed network messaging system"
11 HOMEPAGE="http://www.spread.org"
12 SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
13
14 LICENSE="Spread-1.0 GPL-2"
15 SLOT="0"
16 KEYWORDS="x86 amd64"
17 IUSE=""
18
19 DEPEND=""
20 RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}/${MY_PN}-${PV}"
23
24 pkg_setup() {
25 enewuser spread
26 enewgroup spread
27 }
28
29 src_prepare() {
30 # don't strip binaries
31 sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
36 newinitd "${FILESDIR}"/spread.init.d spread
37 dodir /var/run/spread
38 }

  ViewVC Help
Powered by ViewVC 1.1.20