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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Apr 27 21:17:21 2002 UTC (11 years, 11 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r1.ebuild,v 1.7 2001/09/25 01:48:41 woodchip Exp $
5
6 P=portmap-5b
7 A=portmap_5beta.tar.gz
8 A0=portmap_5beta.dif
9 S=$WORKDIR/portmap_5beta
10 DESCRIPTION="Netkit - portmapper"
11 SRC_URI="ftp://ftp.porcupine.org/pub/security/$A"
12 HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
13
14 DEPEND="virtual/glibc
15 sys-apps/tcp-wrappers"
16
17 src_unpack() {
18 unpack $A
19 cd $S || die
20 patch -p0 < $FILESDIR/$A0 || die
21 cp Makefile Makefile.orig
22 sed -e "s/-O2/$CFLAGS/" Makefile.orig > Makefile || die
23 }
24
25 src_compile() {
26 make || die
27 }
28
29 src_install() {
30 into / ; dosbin portmap
31 into /usr ; dosbin pmap_dump pmap_set
32 doman portmap.8 pmap_dump.8 pmap_set.8
33
34 exeinto /etc/rc.d/init.d
35 newexe ${FILESDIR}/portmap.rc5 portmap
36
37 # is this really the sort of thing we wanna be doing? :)
38 # ln -s ../../init.d/portmap $D/etc/runlevels/default/portmap
39
40 dodoc BLURB CHANGES README
41 }

  ViewVC Help
Powered by ViewVC 1.1.20