wok rev 9934

iproute2: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 00:27:45 2011 +0200 (2011-05-18)
parents 3563a58f3501
children 9c3435378d26
files iproute2/receipt
line diff
     1.1 --- a/iproute2/receipt	Wed May 18 00:10:05 2011 +0200
     1.2 +++ b/iproute2/receipt	Wed May 18 00:27:45 2011 +0200
     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.