wok diff iproute2/receipt @ rev 11319

Up: xlockmore to 5.35.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 16 14:03:44 2011 +0000 (2011-11-16)
parents 5625dc1287ba
children 8ac189007bc2
line diff
     1.1 --- a/iproute2/receipt	Wed Mar 02 10:32:40 2011 +0100
     1.2 +++ b/iproute2/receipt	Wed Nov 16 14:03:44 2011 +0000
     1.3 @@ -5,24 +5,22 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="utilites for networking and traffic control"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="iptables db"
     1.8 -BUILD_DEPENDS="bison flex"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
    1.11  WGET_URL="http://devresources.linux-foundation.org/dev/$PACKAGE/download/$TARBALL"
    1.12  TAGS="network route"
    1.13  
    1.14 +DEPENDS="iptables db"
    1.15 +BUILD_DEPENDS="bison flex db-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
    1.22 -	./configure \
    1.23 -		--prefix=/usr \
    1.24 -		--infodir=/usr/share/info \
    1.25 -		--mandir=/usr/share/man \
    1.26 -		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	./configure --prefix=/usr && \
    1.29 +		make && \
    1.30 +		make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.