/[gentoo-x86]/net-nds/portmap/portmap-5b-r6.ebuild
Gentoo

Contents of /net-nds/portmap/portmap-5b-r6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Mon Apr 26 03:45:29 2004 UTC (10 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r6.ebuild,v 1.16 2004/03/07 10:40:57 kumba Exp $
4
5 inherit eutils
6
7 MY_P=${PN}_${PV}eta
8 A0=portmap_5beta.dif
9 S=$WORKDIR/${MY_P}
10 DESCRIPTION="Netkit - portmapper"
11 SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
12 HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
13
14 SLOT="0"
15 LICENSE="as-is"
16 KEYWORDS="x86 ppc sparc alpha mips amd64"
17
18 DEPEND="sys-apps/tcp-wrappers"
19
20 src_unpack() {
21 unpack ${A}
22 cd $S || die
23 epatch $FILESDIR/$A0
24 mv Makefile Makefile.orig || die
25 sed -e "s:-O2:$CFLAGS:" Makefile.orig > Makefile || die
26 }
27
28 src_compile() {
29 make || die
30 }
31
32 src_install() {
33 into / ; dosbin portmap
34 into /usr ; dosbin pmap_dump pmap_set
35 doman portmap.8 pmap_dump.8 pmap_set.8
36
37 exeinto /etc/init.d
38 newexe ${FILESDIR}/portmap.rc6 portmap
39
40 # is this really the sort of thing we wanna be doing? :)
41 # ln -s ../../init.d/portmap $D/etc/runlevels/default/portmap
42
43 dodoc BLURB CHANGES README
44 }

  ViewVC Help
Powered by ViewVC 1.1.20