wok-next annotate iproute2/receipt @ rev 19662
Remove tazchroot (not used for yearsand unusable)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 18:37:27 2017 +0100 (2017-03-16) |
parents | e2f9f0d42d1a |
children | 9a17d981d0f7 |
rev | line source |
---|---|
allan316@4528 | 1 # SliTaz package receipt. |
allan316@4528 | 2 |
allan316@4528 | 3 PACKAGE="iproute2" |
al@19580 | 4 VERSION="4.7.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" |
allan316@4528 | 9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" |
jozee@4938 | 10 TAGS="network route" |
allan316@4528 | 11 |
al@19580 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19580 | 13 WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" |
al@19580 | 14 |
erjo@9934 | 15 DEPENDS="iptables db" |
al@19580 | 16 BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev" |
erjo@9934 | 17 |
allan316@4528 | 18 # Rules to configure and make the package. |
allan316@4528 | 19 compile_rules() |
allan316@4528 | 20 { |
al@19580 | 21 ./configure /usr/include $CONFIGURE_ARGS && |
al@19580 | 22 make && |
al@19580 | 23 make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install |
allan316@4528 | 24 } |
allan316@4528 | 25 |
allan316@4528 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4528 | 27 genpkg_rules() |
allan316@4528 | 28 { |
pascal@18181 | 29 mkdir -p $fs/bin |
pascal@13464 | 30 cp -a $install/usr $fs/ |
pascal@13464 | 31 cp -a $install/etc $fs/ |
pascal@15041 | 32 cp -a $install/var $fs/ |
pascal@13464 | 33 cp -a $install/sbin $fs/ |
pascal@18181 | 34 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ |
allan316@4528 | 35 } |