wok view iproute2/receipt @ rev 5363
Up: audiofile, audiofile-dev (0.2.7)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 21:45:28 2010 +0000 (2010-04-28) |
parents | f9dee07625aa |
children | b76f49a0f2b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iproute2"
4 VERSION="2.6.29"
5 CATEGORY="network"
6 SHORT_DESC="utilites for networking and traffic control"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="iptables db"
9 BUILD_DEPENDS="db-dev"
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 }