wok annotate iproute2/receipt @ rev 22181
linld: check memory size for vcpi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:45:54 2019 +0100 (2019-11-10) |
parents | f55945c68c5e |
children | eba8234042aa |
rev | line source |
---|---|
allan316@4528 | 1 # SliTaz package receipt. |
allan316@4528 | 2 |
allan316@4528 | 3 PACKAGE="iproute2" |
pascal@13464 | 4 VERSION="3.6.0" |
pankso@4804 | 5 CATEGORY="network" |
allan316@4528 | 6 SHORT_DESC="utilites for networking and traffic control" |
allan316@4528 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@13007 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
allan316@4528 | 10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" |
pascal@13010 | 11 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" |
jozee@4938 | 12 TAGS="network route" |
allan316@4528 | 13 |
erjo@9934 | 14 DEPENDS="iptables db" |
pascal@13011 | 15 BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev" |
erjo@9934 | 16 |
allan316@4528 | 17 # Rules to configure and make the package. |
allan316@4528 | 18 compile_rules() |
allan316@4528 | 19 { |
allan316@4528 | 20 cd $src |
allan316@4528 | 21 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c |
erjo@9934 | 22 ./configure --prefix=/usr && \ |
erjo@9934 | 23 make && \ |
erjo@9934 | 24 make DESTDIR=$DESTDIR install |
allan316@4528 | 25 } |
allan316@4528 | 26 |
allan316@4528 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4528 | 28 genpkg_rules() |
allan316@4528 | 29 { |
pascal@18181 | 30 mkdir -p $fs/bin |
pascal@13464 | 31 cp -a $install/usr $fs/ |
pascal@13464 | 32 cp -a $install/etc $fs/ |
pascal@15041 | 33 cp -a $install/var $fs/ |
pascal@13464 | 34 cp -a $install/sbin $fs/ |
pascal@18181 | 35 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ |
allan316@4528 | 36 } |