summaryrefslogtreecommitdiff
path: root/netkit-base/Pkgfile
blob: 33e992fd43c79877a55c04c0d30f8a541a4a1c5d (plain)
    1 # Description: Internet service daemon and Ping
    2 # URL:         ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
    3 # Maintainer:  Per Lidén <per@fukt.bth.se>
    4 
    5 name=netkit-base
    6 version=0.17
    7 release=8
    8 source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$name-$version.tar.gz \
    9 	$name-$version-usagi-20030214.patch \
   10 	$name-$version-break.patch \
   11 	$name-$version-gcc4.patch \
   12 	inetd.conf inetd services protocols)
   13 
   14 build() {
   15     cd $name-$version
   16     patch -p1 < ../$name-$version-usagi-20030214.patch
   17     patch -p1 < ../$name-$version-break.patch
   18     patch -p1 < ../$name-$version-gcc4.patch
   19     ./configure --prefix=/usr \
   20 		--installroot=$PKG \
   21 		--enable-ipv6
   22     make
   23     mkdir -p $PKG/bin $PKG/etc/rc.d $PKG/usr/sbin $PKG/usr/man/man8
   24     make install
   25     install -m 644 ../inetd.conf $PKG/etc
   26     install -m 644 ../{services,protocols} $PKG/etc
   27     install -m 755 ../inetd $PKG/etc/rc.d
   28 }

Generated by cgit