core/netkit-base/Pkgfile

29 lines
908 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Internet service daemon and Ping
# URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=netkit-base
version=0.17
2006-02-23 19:01:22 +01:00
release=8
2006-02-23 16:26:10 +01:00
source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$name-$version.tar.gz \
$name-$version-usagi-20030214.patch \
$name-$version-break.patch \
2006-02-23 19:01:22 +01:00
$name-$version-gcc4.patch \
2006-02-23 16:26:10 +01:00
inetd.conf inetd services protocols)
build() {
cd $name-$version
patch -p1 < ../$name-$version-usagi-20030214.patch
patch -p1 < ../$name-$version-break.patch
2006-02-23 19:01:22 +01:00
patch -p1 < ../$name-$version-gcc4.patch
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
--installroot=$PKG \
--enable-ipv6
make
mkdir -p $PKG/bin $PKG/etc/rc.d $PKG/usr/sbin $PKG/usr/man/man8
make install
install -m 644 ../inetd.conf $PKG/etc
install -m 644 ../{services,protocols} $PKG/etc
install -m 755 ../inetd $PKG/etc/rc.d
}