/[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 - (hide annotations) (download)
Wed Jan 8 06:32:47 2014 UTC (6 years, 5 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 vapier 1.5 # Copyright 1999-2014 Gentoo Foundation
2 kumba 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.5 # $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 kumba 1.1
5 kumba 1.3 EAPI="4"
6 vapier 1.5 inherit eutils user
7 kumba 1.1
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 axs 1.4 LICENSE="Spread-1.0 GPL-2"
15 kumba 1.1 SLOT="0"
16 kumba 1.2 KEYWORDS="x86 amd64"
17 kumba 1.1 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 kumba 1.2 src_prepare() {
30 kumba 1.1 # 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 kumba 1.2 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
36     newinitd "${FILESDIR}"/spread.init.d spread
37     dodir /var/run/spread
38 kumba 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20