summaryrefslogtreecommitdiffstats
path: root/base/iproute2/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/iproute2/Pkgfile')
-rwxr-xr-xbase/iproute2/Pkgfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/base/iproute2/Pkgfile b/base/iproute2/Pkgfile
index bfca2dbb6..e4a6ecdda 100755
--- a/base/iproute2/Pkgfile
+++ b/base/iproute2/Pkgfile
@@ -2,18 +2,17 @@
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=iproute2
-version=2.6.29.1
+version=2.6.31
release=1
-source=( http://developer.osdl.org/dev/$name/download/$name-2.6.29-1.tar.bz2\
+source=( http://devresources.linuxfoundation.org/dev/$name/download/$name-$version.tar.bz2\
)
build() {
cd $name-*
-sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
+sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile
make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
DESTDIR=$PKG install
mkdir -p $PKG/usr/sbin