wok-6.x diff iproute2/receipt @ rev 24671
updated iproute2 (5.5.0 -> 5.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 17:25:23 2022 +0100 (2022-03-11) |
parents | 71360a13cd94 |
children | 73f36875e5a7 |
line diff
1.1 --- a/iproute2/receipt Fri Jan 28 18:19:21 2022 +0000 1.2 +++ b/iproute2/receipt Fri Mar 11 17:25:23 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="iproute2" 1.7 -VERSION="5.5.0" 1.8 +VERSION="5.16.0" 1.9 CATEGORY="network" 1.10 TAGS="network route" 1.11 SHORT_DESC="Utilites for networking and traffic control." 1.12 @@ -12,7 +12,7 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.14 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" 1.15 1.16 -DEPENDS="db iptables" 1.17 +DEPENDS="db iptables libmnl libnl" 1.18 BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev" 1.19 1.20 # What is the latest version available today? 1.21 @@ -25,14 +25,16 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' \ 1.26 + export LDFLAGS="$LDFLAGS -lrt" 1.27 + 1.28 + sed -i 's|<net/if.h>|<net/if.h>\n#include <linux/ip.h>|' \ 1.29 ip/link_gre.c 1.30 1.31 ./configure \ 1.32 --prefix=/usr \ 1.33 $CONFIGURE_ARGS && 1.34 make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + make install DESTDIR=$DESTDIR 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 @@ -40,9 +42,11 @@ 1.41 { 1.42 mkdir -p $fs/bin 1.43 1.44 - cp -a $install/usr $fs 1.45 - cp -a $install/etc $fs 1.46 - cp -a $install/var $fs 1.47 - cp -a $install/sbin $fs 1.48 + cook_copy_folders etc 1.49 + cook_copy_folders include 1.50 + cook_copy_folders lib 1.51 + cook_copy_folders sbin 1.52 + cook_copy_folders var 1.53 + 1.54 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ 1.55 }