wok view iproute2/receipt @ rev 5634

Add: gtk-engines-rezlooks
author Alexander Medvedev <devl547@gmail.com>
date Thu May 27 19:01:44 2010 +0000 (2010-05-27)
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 }