CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / net-tools / Pkgfile
CommitLineData
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
7name=net-tools
8version=1.60
9release=6
10source=(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
21build() {
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}