wok-6.x view iproute2/receipt @ rev 15139
mlt-python-bindings: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:27:14 2013 +0000 (2013-08-15) |
parents | 380ffe05937a |
children | e2f9f0d42d1a |
line source
1 # SliTaz package receipt.
3 PACKAGE="iproute2"
4 VERSION="3.6.0"
5 CATEGORY="network"
6 SHORT_DESC="utilites for networking and traffic control"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
11 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
12 TAGS="network route"
14 DEPENDS="iptables db"
15 BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
22 ./configure --prefix=/usr && \
23 make && \
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $install/usr $fs/
32 cp -a $install/etc $fs/
33 cp -a $install/var $fs/
34 cp -a $install/sbin $fs/
35 }