wok-next view iproute2/receipt @ rev 19714

Up cookutils (901)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 12 16:19:41 2017 +0300 (2017-05-12)
parents e2f9f0d42d1a
children 9a17d981d0f7
line source
1 # SliTaz package receipt.
3 PACKAGE="iproute2"
4 VERSION="4.7.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 TAGS="network route"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
15 DEPENDS="iptables db"
16 BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure /usr/include $CONFIGURE_ARGS &&
22 make &&
23 make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/bin
30 cp -a $install/usr $fs/
31 cp -a $install/etc $fs/
32 cp -a $install/var $fs/
33 cp -a $install/sbin $fs/
34 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/
35 }