X-Git-Url: http://gitweb/?a=blobdiff_plain;f=iproute2%2FPkgfile;h=2c69943a9e5ed611daa822e180230f9839a6ca58;hb=647cd8f5e9301b24b60acd4539b719338524811e;hp=0e8042e11c0f7278e92e78f8e4fbe8156ae1fad9;hpb=370189bf9529a9d54132bea4d96b3414f4eae787;p=crossrootfs.git diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile index 0e8042e..2c69943 100644 --- a/iproute2/Pkgfile +++ b/iproute2/Pkgfile @@ -1,7 +1,7 @@ # 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 at crux-arm dot nu # Depends on: db name=iproute2 @@ -12,9 +12,13 @@ source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \ 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 }