1 # Contributor: Thereidos <admin@therek.net>
8 url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
9 source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.patch rwhod.rc)
10 md5sums=('0f71620d45d472f89134ba0d74242e75' '06e5aff76e509167bc8ce7399ee3a483' \
11 '0c38c3c52ea9f2709f350fb9c29c82c6')
14 cd $startdir/src/$pkgname-$pkgver
15 patch -Np1 -i ../$pkgname-$pkgver.patch
16 ./configure --prefix=/usr --installroot=$startdir/pkg
18 mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man8} $startdir/pkg/etc/rc.d
20 mkdir -p $startdir/pkg/var/spool/rwho
21 install -m755 $startdir/src/rwhod.rc $startdir/pkg/etc/rc.d/rwhod