wok-next view iproute2/receipt @ rev 19745

Update base packages, I'll finish yesterday and then rebuild all these from scratch...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 08 00:20:23 2017 +0300 (2017-06-08)
parents c401b815022b
children 90a5eb560fd6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iproute2"
4 VERSION="4.9.0"
5 CATEGORY="network"
6 SHORT_DESC="Utilites for networking and traffic control"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure /usr/include $CONFIGURE_ARGS &&
20 sed -i 's|tc-skbmod\.8||' $src/man/man8/Makefile &&
21 make &&
22 make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 copy @std
29 TAGS="network route"
30 DEPENDS="iptables db"
31 }