summaryrefslogtreecommitdiffstats
path: root/base/net-tools/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:28:39 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:28:39 +0200
commite1aad863ed7990edf8b3cccaa3b82a15d1961d6d (patch)
treeda40a851835f9f9976df519044cb3b9b385e2ff1 /base/net-tools/Pkgfile
parentf72558ad9efe9be7ee9777753ea717558b3b9658 (diff)
downloadnutyx-extra-e1aad863ed7990edf8b3cccaa3b82a15d1961d6d.tar.gz
nutyx-extra-e1aad863ed7990edf8b3cccaa3b82a15d1961d6d.tar.bz2
nutyx-extra-e1aad863ed7990edf8b3cccaa3b82a15d1961d6d.tar.xz
nutyx-extra-e1aad863ed7990edf8b3cccaa3b82a15d1961d6d.zip
Ajout de net-tools#1.60-1
Diffstat (limited to 'base/net-tools/Pkgfile')
-rwxr-xr-xbase/net-tools/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/net-tools/Pkgfile b/base/net-tools/Pkgfile
new file mode 100755
index 000000000..ea0d5de56
--- /dev/null
+++ b/base/net-tools/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Collection de programmes pour gérer les connections réseaux
+# URL: http://www.tazenda.demon.co.uk
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=net-tools
+version=1.60
+release=1
+source=( http://www.tazenda.demon.co.uk/phil/$name/$name-$version.tar.bz2\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-gcc34-3.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-kernel_headers-2.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-mii_ioctl-1.patch)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../net-tools-1.60-gcc34-3.patch &&
+ patch -Np1 -i ../net-tools-1.60-kernel_headers-2.patch &&
+ patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch &&
+yes "" | make config &&
+sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
+ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
+sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
+ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make
+ make BASEDIR=$PKG update
+}