From 95b4bfc0b5aa74cf26da9c24dc7be7d36c7e7452 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 12:42:45 +0100 Subject: Recette de iproute2 mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iproute2/Pkgfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'iproute2/Pkgfile') diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile index 132bec2..409003c 100644 --- a/iproute2/Pkgfile +++ b/iproute2/Pkgfile @@ -1,19 +1,18 @@ description="A collection of utilites for controlling TCP/IP networking and traffic in Linux" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team " +maintainer="Lukc " url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" depends=(db) name=iproute2 version=2.6.35 release=1 -source=(http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-2.6.35.tar.bz2 net.iproute2) +source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 net.iproute2) build () { - cd $name-$version; - sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile; - make; - make MANDIR=/usr/man DESTDIR=$PKG install; - rm -r $PKG/share; - install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net + cd $name-$version; + sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile; + make; + make MANDIR=$mandir DESTDIR=$PKG install; + install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net } -- cgit v1.2.3-70-g09d2