IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.4.7-now-ss020116-try PKGVER=2.4.7_now_ss020116_try PROGNAME="iproute2 $VERSION" DESC="\ iproute2 (IP routing utilities) \n \n These are tools used to administer many advanced IP routing features \n in the kernel. See Configure.help in the kernel documentation \n (search for iproute2) for more information on which kernel options \n these tools are used with. \n \n These utilities were written by Alexey Kuznetsov." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/iproute2 PKGNAME=iproute2-$PKGVER-s390-$BUILD TAG=REC compile() { tar -zxvf $CWD/iproute2-$VERSION.tar.gz cd iproute2/ tar xzf $CWD/htb3.6-020525.tar.gz chown -R root.root . if [ ! -f tc/q_htb.c ]; then cat htb3.6_tc.diff | patch -p1 fi make } install() { make install DESTDIR=/package-iproute2 mkdir -p /package-iproute2/usr/doc/iproute2-$VERSION cp -a RE* /package-iproute2/usr/doc/iproute2-$VERSION mv /package-iproute2/usr/doc/iproute2/* /package-iproute2/usr/doc/iproute2-$VERSION rmdir /package-iproute2/usr/doc/iproute2 mkdir -p /package-iproute2/var/lib/arpd } attributes() { chown -R root.bin $PKG/package-iproute2/sbin } special() { cd $PKG mv package-iproute2/* ./ rmdir package-iproute2 cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-iproute2/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }