summaryrefslogtreecommitdiffstats
path: root/base/iproute2/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-18 20:01:40 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-18 20:01:40 +0100
commite4cc9ad107cb92cec4555afd40def815d8251b42 (patch)
treeb6fb2c506e77fa076a672a0cc2f96eff63e678f6 /base/iproute2/Pkgfile
parentcf6601bc6a1416a705ddf66e9fc6fa566ff62bb9 (diff)
downloadnutyx-extra-e4cc9ad107cb92cec4555afd40def815d8251b42.tar.gz
nutyx-extra-e4cc9ad107cb92cec4555afd40def815d8251b42.tar.bz2
nutyx-extra-e4cc9ad107cb92cec4555afd40def815d8251b42.tar.xz
nutyx-extra-e4cc9ad107cb92cec4555afd40def815d8251b42.zip
Maj iproute2#2.6.31-1
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