2006-02-23 15:26:10 +00:00
|
|
|
# Description: Network utilities
|
|
|
|
# URL: http://www.tazenda.demon.co.uk/phil/net-tools/
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=net-tools
|
|
|
|
version=1.60
|
2006-12-19 14:48:44 -06:00
|
|
|
release=6
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://www.tazenda.demon.co.uk/phil/net-tools/$name-$version.tar.bz2 \
|
|
|
|
$name-$version-config.patch \
|
|
|
|
$name-$version-compile_fixes.patch \
|
|
|
|
$name-$version-arp.patch \
|
|
|
|
$name-$version-man.patch \
|
|
|
|
$name-$version-nameif.patch \
|
|
|
|
$name-$version-manydevs.patch \
|
|
|
|
$name-$version-virtualname.patch \
|
|
|
|
$name-$version-ipv6.patch \
|
2006-12-19 14:48:44 -06:00
|
|
|
$name-$version-miiioctl.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
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 COPTS="$CFLAGS -D_GNU_SOURCE -Wall"
|
|
|
|
make BASEDIR=$PKG mandir=/usr/man install
|
|
|
|
}
|