wok-next view iproute2/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
parents | 9a17d981d0f7 |
children | e7a485521d6a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iproute2"
4 VERSION="4.12.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"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/iproute2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
17 compile_rules() {
18 ./configure /usr/include $CONFIGURE_ARGS &&
19 sed -i 's|tc-skbmod\.8||' $src/man/man8/Makefile &&
20 make &&
21 make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
22 }
24 genpkg_rules() {
25 copy @std
26 TAGS="LFS network route"
27 DEPENDS="iptables db"
28 }