X-Git-Url: http://gitweb/?a=blobdiff_plain;f=iproute2%2FPkgfile;h=c50c40d0ec5147dd7c0ccdf20c75f97823bc0833;hb=56009fbc3fc1a1c5fcf21aafb55ae526c66f8fb5;hp=f15e6e69c08a0fa588b2b7230c5ab6e787ea7673;hpb=7e1290b37c5639e55b4066b36a01a00c7fd47ef2;p=crossrootfs.git diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile index f15e6e6..c50c40d 100644 --- a/iproute2/Pkgfile +++ b/iproute2/Pkgfile @@ -1,20 +1,23 @@ # 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 -version=2.6.28 -release=2 +version=2.6.38 +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} + + rm -r $PKG/share install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net }