summaryrefslogtreecommitdiffstats
path: root/base/iproute2/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:31 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:31 +0200
commit066f1e695b8476eafc73d0b73d5cee22ba0f529a (patch)
treedeec8e79b2d09dd27f3e303e77dfb4c32b0ce877 /base/iproute2/Pkgfile
parent9002eb48291cd8a10eaeb356c8d4cf683b346169 (diff)
downloadnutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.gz
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.bz2
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.xz
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.zip
Ajout de iproute2#2.6.29.1-1
Diffstat (limited to 'base/iproute2/Pkgfile')
-rwxr-xr-xbase/iproute2/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/base/iproute2/Pkgfile b/base/iproute2/Pkgfile
new file mode 100755
index 000000000..5f8277bab
--- /dev/null
+++ b/base/iproute2/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Programmes de base et avancés pour réseau IPV4
+# URL: http://linux-net.osdl.org/index.php/Iproute2
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gzip
+
+name=iproute2
+version=2.6.29.1
+release=1
+source=( http://developer.osdl.org/dev/$name/download/$name-2.6.29-1.tar.bz2\
+ )
+
+
+build() {
+cd $name-*
+sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
+make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
+ DESTDIR=$PKG install
+mkdir -p $PKG/usr/sbin
+mv $PKG/sbin/arpd $PKG/usr/sbin/
+rm -r $PKG/{share,lib,usr/lib}
+}