wok-4.x view iproute2/receipt @ rev 9027
httpfs-fuse: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:10:39 2011 +0100 (2011-03-03) |
parents | 1c8ac3b015bc |
children | ff74d935a6dc |
line source
1 # SliTaz package receipt.
3 PACKAGE="iproute2"
4 VERSION="2.6.37"
5 CATEGORY="network"
6 SHORT_DESC="utilites for networking and traffic control"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="iptables db"
9 BUILD_DEPENDS="bison flex"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
12 WGET_URL="http://devresources.linux-foundation.org/dev/$PACKAGE/download/$TARBALL"
13 TAGS="network route"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $_pkg/usr $fs/
33 cp -a $_pkg/etc $fs/
34 cp -a $_pkg/lib $fs/
35 cp -a $_pkg/sbin $fs/
36 }