summaryrefslogtreecommitdiffstats
path: root/iproute2/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-22 22:08:56 +0000
committerpiernov <piernov@piernov.org>2012-02-22 22:08:56 +0000
commit41dcb106cdf6b60d77aff89cbab5f9dc32675354 (patch)
treecf42ad0650317e54881644e300c1a795c10150a8 /iproute2/Pkgfile
parent2b0c6c1be32809a79892dd19ed284e97e196a80d (diff)
downloadnutyx-pakxe-41dcb106cdf6b60d77aff89cbab5f9dc32675354.tar.gz
nutyx-pakxe-41dcb106cdf6b60d77aff89cbab5f9dc32675354.tar.bz2
nutyx-pakxe-41dcb106cdf6b60d77aff89cbab5f9dc32675354.tar.xz
nutyx-pakxe-41dcb106cdf6b60d77aff89cbab5f9dc32675354.zip
iproute2 3.2.0-1 màj port
Diffstat (limited to 'iproute2/Pkgfile')
-rwxr-xr-xiproute2/Pkgfile17
1 files changed, 7 insertions, 10 deletions
diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile
index 8b88f86ac..7bb8f2203 100755
--- a/iproute2/Pkgfile
+++ b/iproute2/Pkgfile
@@ -2,19 +2,16 @@
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
+# Depends on: libnl2
name=iproute2
-version=2.6.38
+version=3.2.0
release=1
-source=( http://devresources.linuxfoundation.org/dev/$name/download/$name-$version.tar.bz2\
- )
-
+source=(http://kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)
build() {
-cd $name-*
-sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
-make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
- DESTDIR=$PKG install
-mkdir -p $PKG/usr/sbin
-rm -r $PKG/{share,lib,usr/lib}
+ cd $name-$version
+ sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
+ make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info DESTDIR=$PKG install
+ mkdir -p $PKG/usr/sbin
}