wok view iproute2/receipt @ rev 13847

frogatto: try to fix build (Boost 1.47 removed a deprecated function...) btw, we use boost 1.50
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 09 01:13:47 2013 +0000 (2013-01-09)
parents 8ab202c7076c
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
10 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
11 TAGS="network route"
13 DEPENDS="iptables db"
14 BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
21 ./configure --prefix=/usr && \
22 make && \
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $install/usr $fs/
31 cp -a $install/etc $fs/
32 cp -a $install/lib $fs/
33 cp -a $install/sbin $fs/
34 }