wok annotate iproute2/receipt @ rev 23395
updated perl-test-deep (0.106 -> 1.130)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:09:45 2020 +0100 (2020-03-31) |
parents | e2f9f0d42d1a |
children | 71360a13cd94 |
rev | line source |
---|---|
allan316@4528 | 1 # SliTaz package receipt. |
allan316@4528 | 2 |
allan316@4528 | 3 PACKAGE="iproute2" |
Hans-G?nter@22955 | 4 VERSION="5.5.0" |
pankso@4804 | 5 CATEGORY="network" |
Hans-G?nter@22955 | 6 TAGS="network route" |
Hans-G?nter@22955 | 7 SHORT_DESC="Utilites for networking and traffic control." |
allan316@4528 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@22955 | 10 WEB_SITE="https://wiki.linuxfoundation.org/networking/iproute2" |
Hans-G?nter@22955 | 11 |
pascal@13007 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@13010 | 13 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" |
allan316@4528 | 14 |
Hans-G?nter@22955 | 15 DEPENDS="db iptables" |
Hans-G?nter@22955 | 16 BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev" |
erjo@9934 | 17 |
allan316@4528 | 18 # Rules to configure and make the package. |
allan316@4528 | 19 compile_rules() |
allan316@4528 | 20 { |
Hans-G?nter@22955 | 21 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' \ |
Hans-G?nter@22955 | 22 ip/link_gre.c |
Hans-G?nter@22955 | 23 |
Hans-G?nter@22955 | 24 ./configure \ |
Hans-G?nter@22955 | 25 --prefix=/usr \ |
Hans-G?nter@22955 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@22955 | 27 make && |
Hans-G?nter@22955 | 28 make DESTDIR=$DESTDIR install |
allan316@4528 | 29 } |
allan316@4528 | 30 |
allan316@4528 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4528 | 32 genpkg_rules() |
allan316@4528 | 33 { |
pascal@18181 | 34 mkdir -p $fs/bin |
Hans-G?nter@22955 | 35 |
Hans-G?nter@22955 | 36 cp -a $install/usr $fs |
Hans-G?nter@22955 | 37 cp -a $install/etc $fs |
Hans-G?nter@22955 | 38 cp -a $install/var $fs |
Hans-G?nter@22955 | 39 cp -a $install/sbin $fs |
pascal@18181 | 40 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ |
allan316@4528 | 41 } |