diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /net-tools/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'net-tools/Pkgfile')
-rwxr-xr-x | net-tools/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net-tools/Pkgfile b/net-tools/Pkgfile new file mode 100755 index 000000000..232cd5f73 --- /dev/null +++ b/net-tools/Pkgfile @@ -0,0 +1,28 @@ +# 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() { + unset MAKEFLAGS + 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 +} |