wok-next view iproute2/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
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 }