CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / iproute2 / Pkgfile
index 743cd7bcc1c7cf08375a2acee93b4285c314da7c..2282041eb4322c502f7e29775c06287ae027604f 100644 (file)
@@ -1,20 +1,24 @@
 # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
 # URL: http://linux-net.osdl.org/index.php/Iproute2
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
 # Depends on: db
 
 name=iproute2
-version=2.6.28
-release=2
+version=2.6.33
+release=1
 source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \
         net.iproute2)
 
 build() {
   cd $name-$version
+
   sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
-  make DBM_INCLUDE="$CLFS/usr/include" CC="$CC"
+  sed -i "s|gcc |$CC $CFLAGS|g" configure
+
+  make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS"
   make MANDIR=/usr/man DESTDIR=$PKG install
+
   rm -r $PKG/{share,usr/lib}
   install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
 }