X-Git-Url: http://gitweb/?a=blobdiff_plain;f=iproute2%2FPkgfile;h=a1c440d9b0458ef260e0dc38d6143d44b82859a1;hb=0ad5dd22b16c60bd1ef52c3ab34826b7034eac24;hp=50701f5c415c689539a00d45a28410292677dbe4;hpb=d648e102bb0ddb35761ff7e32a62bc21c05365c7;p=crossrootfs.git diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile index 50701f5..a1c440d 100644 --- a/iproute2/Pkgfile +++ b/iproute2/Pkgfile @@ -1,23 +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 +# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu -# Depends on: db +# Depends on: db iptables name=iproute2 -version=2.6.37 +version=4.3.0 release=1 -source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \ - net.iproute2) +source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \ + lo.iproute2 net.iproute2) build() { cd $name-$version - sed -i "s|gcc |$CC $CFLAGS|g" configure + ./configure --build=$CHOST \ + --host=$CTARGET + make CCOPTS="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" DBM_INCLUDE="-I$CLFS/usr/include" HOSTCC="gcc" CCOPTS="-O2 -pipe" + make MANDIR=/usr/share/man DESTDIR=$PKG install - make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS" - make MANDIR=/usr/man DESTDIR=$PKG install - - rm -r $PKG/share + rm -r $PKG/usr/share/doc + install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net }