description="Network utilities." packager="CRUX System Team " maintainer="Lukc " url="http://www.tazenda.demon.co.uk/phil/net-tools/" depends=() name=net-tools version=1.60 release=6 source=( http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-$version.tar.bz2 net-tools-$version-config.patch net-tools-$version-compile_fixes.patch net-tools-$version-arp.patch net-tools-$version-man.patch net-tools-$version-nameif.patch net-tools-$version-manydevs.patch net-tools-$version-virtualname.patch net-tools-$version-ipv6.patch net-tools-$version-miiioctl.patch ) build () { cd $name-$version; patch -p1 < ../$name-$version-config.patch; patch -p1 < ../$name-$version-compile_fixes.patch; patch -p1 < ../$name-$version-arp.patch; patch -p1 < ../$name-$version-man.patch; patch -p1 < ../$name-$version-nameif.patch; patch -p1 < ../$name-$version-manydevs.patch; patch -p1 < ../$name-$version-virtualname.patch; patch -p1 < ../$name-$version-ipv6.patch; patch -p1 < ../$name-$version-miiioctl.patch; make -j1 ${CHOST:+CC=$CHOST-gcc} COPTS="$CFLAGS -D_GNU_SOURCE -Wall"; make BASEDIR=$PKG mandir=$mandir install }