Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | # Arch Maintainer: CRUX ARM System Team | |
5 | # Depends on: | |
6 | ||
7 | name=net-tools | |
8 | version=1.60 | |
9 | release=6 | |
10 | source=(http://www.tazenda.demon.co.uk/phil/net-tools/$name-$version.tar.bz2 \ | |
11 | $name-$version-config.patch \ | |
12 | $name-$version-compile_fixes.patch \ | |
13 | $name-$version-arp.patch \ | |
14 | $name-$version-man.patch \ | |
15 | $name-$version-nameif.patch \ | |
16 | $name-$version-manydevs.patch \ | |
17 | $name-$version-virtualname.patch \ | |
18 | $name-$version-ipv6.patch \ | |
19 | $name-$version-miiioctl.patch) | |
20 | ||
21 | build() { | |
22 | cd $name-$version | |
23 | patch -p1 < ../$name-$version-config.patch | |
24 | patch -p1 < ../$name-$version-compile_fixes.patch | |
25 | patch -p1 < ../$name-$version-arp.patch | |
26 | patch -p1 < ../$name-$version-man.patch | |
27 | patch -p1 < ../$name-$version-nameif.patch | |
28 | patch -p1 < ../$name-$version-manydevs.patch | |
29 | patch -p1 < ../$name-$version-virtualname.patch | |
30 | patch -p1 < ../$name-$version-ipv6.patch | |
31 | patch -p1 < ../$name-$version-miiioctl.patch | |
32 | make COPTS="$CFLAGS -D_GNU_SOURCE -Wall" | |
33 | make BASEDIR=$PKG mandir=/usr/man install | |
34 | } |