wok-next view iproute2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e7a485521d6a
children a43eb412173d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iproute2"
4 VERSION="4.17.0"
5 CATEGORY="network"
6 SHORT_DESC="Utilites for networking and traffic control"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.linuxfoundation.org/networking/iproute2"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/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 \
19 /usr/include \
20 $CONFIGURE_ARGS &&
21 sed -i 's|tc-skbmod\.8||' $src/man/man8/Makefile &&
22 make &&
23 make \
24 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
25 DESTDIR=$install \
26 install
27 }
29 genpkg_rules() {
30 copy @std
31 TAGS="LFS network route"
32 DEPENDS="iptables db"
33 }