summaryrefslogtreecommitdiffstats
path: root/net-tools/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /net-tools/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'net-tools/Pkgfile')
-rw-r--r--net-tools/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-tools/Pkgfile b/net-tools/Pkgfile
new file mode 100644
index 0000000..dd7fff6
--- /dev/null
+++ b/net-tools/Pkgfile
@@ -0,0 +1,25 @@
+description="Network utilities"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+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-1.60.tar.bz2 net-tools-1.60-config.patch net-tools-1.60-compile_fixes.patch net-tools-1.60-arp.patch net-tools-1.60-man.patch net-tools-1.60-nameif.patch net-tools-1.60-manydevs.patch net-tools-1.60-virtualname.patch net-tools-1.60-ipv6.patch net-tools-1.60-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 COPTS="$CFLAGS -D_GNU_SOURCE -Wall";
+ make BASEDIR=$PKG mandir=/usr/man install
+}