wok-next annotate iproute2/receipt @ rev 20299

Up remmina (1.2.0-rcgit.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 22:26:00 2017 +0100 (2017-11-09)
parents c401b815022b
children 90a5eb560fd6
rev   line source
al@19745 1 # SliTaz package receipt v2.
allan316@4528 2
allan316@4528 3 PACKAGE="iproute2"
al@19745 4 VERSION="4.9.0"
pankso@4804 5 CATEGORY="network"
al@19745 6 SHORT_DESC="Utilites for networking and traffic control"
allan316@4528 7 MAINTAINER="allan316@gmail.com"
pascal@15000 8 LICENSE="GPL2"
allan316@4528 9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
allan316@4528 10
al@19580 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19580 12 WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
al@19580 13
al@19580 14 BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
erjo@9934 15
allan316@4528 16 # Rules to configure and make the package.
allan316@4528 17 compile_rules()
allan316@4528 18 {
al@19580 19 ./configure /usr/include $CONFIGURE_ARGS &&
al@19745 20 sed -i 's|tc-skbmod\.8||' $src/man/man8/Makefile &&
al@19580 21 make &&
al@19580 22 make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
allan316@4528 23 }
allan316@4528 24
allan316@4528 25 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4528 26 genpkg_rules()
allan316@4528 27 {
al@19745 28 copy @std
al@19745 29 TAGS="network route"
al@19745 30 DEPENDS="iptables db"
allan316@4528 31 }