wok-next diff iproute2/receipt @ rev 19580

Up: iproute2. Extra up: libmnl, db.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 27 11:15:02 2016 +0200 (2016-12-27)
parents e2f9f0d42d1a
children 9a17d981d0f7
line diff
     1.1 --- a/iproute2/receipt	Sun Jul 05 16:43:45 2015 +0200
     1.2 +++ b/iproute2/receipt	Tue Dec 27 11:15:02 2016 +0200
     1.3 @@ -1,27 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iproute2"
     1.7 -VERSION="3.6.0"
     1.8 +VERSION="4.7.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="utilites for networking and traffic control"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
    1.15 -WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
    1.16  TAGS="network route"
    1.17  
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
    1.20 +
    1.21  DEPENDS="iptables db"
    1.22 -BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev"
    1.23 +BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
    1.30 -	./configure --prefix=/usr && \
    1.31 -		make && \
    1.32 -		make DESTDIR=$DESTDIR install
    1.33 +	./configure /usr/include $CONFIGURE_ARGS &&
    1.34 +	make &&
    1.35 +	make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.