wok-next view iproute2/receipt @ rev 20545
vmtouch: create $install/usr/bin path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 03 15:08:22 2018 +0200 (2018-04-03) |
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 }