diff options
author | piernov <piernov@piernov.servegame.org> | 2012-07-13 15:59:15 +0200 |
---|---|---|
committer | piernov <piernov@piernov.servegame.org> | 2012-07-13 15:59:15 +0200 |
commit | 5d4b4cc6bf50e5afd6325363e242ddbd99c32163 (patch) | |
tree | 7ef497359231e6849721da386d1de5a00a041442 /net-tools/Pkgfile | |
parent | e96f7de5632ffb6cff9ddbe4778d0c4d9fa22570 (diff) | |
download | nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.gz nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.bz2 nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.xz nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.zip |
net-tools 1.60-20101030-1 màj port
Diffstat (limited to 'net-tools/Pkgfile')
-rwxr-xr-x | net-tools/Pkgfile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/net-tools/Pkgfile b/net-tools/Pkgfile index 232cd5f73..cf0734b40 100755 --- a/net-tools/Pkgfile +++ b/net-tools/Pkgfile @@ -6,20 +6,13 @@ 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) - +release=20101030-1 +source=(http://anduin.linuxfromscratch.org/sources/BLFS/svn/n/net-tools-CVS_${release%-*}.tar.gz) 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 && + cd $name-CVS_${release%-*} + 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' \ |