wok-current diff iproute2/receipt @ rev 23901

httpfs2-fuse: add man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 31 14:26:28 2020 +0000 (2020-07-31)
parents e2f9f0d42d1a
children 71360a13cd94
line diff
     1.1 --- a/iproute2/receipt	Sun Jul 05 16:43:45 2015 +0200
     1.2 +++ b/iproute2/receipt	Fri Jul 31 14:26:28 2020 +0000
     1.3 @@ -1,36 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iproute2"
     1.7 -VERSION="3.6.0"
     1.8 +VERSION="5.5.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="utilites for networking and traffic control"
    1.11 +TAGS="network route"
    1.12 +SHORT_DESC="Utilites for networking and traffic control."
    1.13  MAINTAINER="allan316@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://wiki.linuxfoundation.org/networking/iproute2"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
    1.19  WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
    1.20 -TAGS="network route"
    1.21  
    1.22 -DEPENDS="iptables db"
    1.23 -BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev"
    1.24 +DEPENDS="db iptables"
    1.25 +BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
    1.32 -	./configure --prefix=/usr && \
    1.33 -		make && \
    1.34 -		make DESTDIR=$DESTDIR install
    1.35 +	sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' \
    1.36 +		ip/link_gre.c
    1.37 +
    1.38 +	./configure		\
    1.39 +		--prefix=/usr	\
    1.40 +		$CONFIGURE_ARGS &&
    1.41 +	make &&
    1.42 +	make DESTDIR=$DESTDIR install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p $fs/bin
    1.49 -	cp -a $install/usr $fs/
    1.50 -	cp -a $install/etc $fs/
    1.51 -	cp -a $install/var $fs/
    1.52 -	cp -a $install/sbin $fs/
    1.53 +
    1.54 +	cp -a $install/usr	$fs
    1.55 +	cp -a $install/etc	$fs
    1.56 +	cp -a $install/var	$fs
    1.57 +	cp -a $install/sbin	$fs
    1.58  	ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/
    1.59  }