summaryrefslogtreecommitdiff
path: root/net-tools/Pkgfile
blob: 46756cc3cdc7fbcdf6ddd078fc9c52cb4f3fa678 (plain)
    1 # Description: Network utilities
    2 # URL:         http://www.tazenda.demon.co.uk/phil/net-tools/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 
    5 name=net-tools
    6 version=1.60
    7 release=6
    8 source=(http://www.tazenda.demon.co.uk/phil/net-tools/$name-$version.tar.bz2 \
    9 	$name-$version-config.patch \
   10 	$name-$version-compile_fixes.patch \
   11 	$name-$version-arp.patch \
   12 	$name-$version-man.patch \
   13 	$name-$version-nameif.patch \
   14 	$name-$version-manydevs.patch \
   15 	$name-$version-virtualname.patch \
   16 	$name-$version-ipv6.patch \
   17 	$name-$version-miiioctl.patch)
   18 
   19 build() {
   20     cd $name-$version
   21     patch -p1 < ../$name-$version-config.patch
   22     patch -p1 < ../$name-$version-compile_fixes.patch
   23     patch -p1 < ../$name-$version-arp.patch
   24     patch -p1 < ../$name-$version-man.patch
   25     patch -p1 < ../$name-$version-nameif.patch
   26     patch -p1 < ../$name-$version-manydevs.patch
   27     patch -p1 < ../$name-$version-virtualname.patch
   28     patch -p1 < ../$name-$version-ipv6.patch
   29     patch -p1 < ../$name-$version-miiioctl.patch
   30     make COPTS="$CFLAGS -D_GNU_SOURCE -Wall"
   31     make BASEDIR=$PKG mandir=/usr/man install
   32 }

Generated by cgit