wok-next view iproute2/receipt @ rev 4552
Add foomatic-db-engine
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Dec 04 13:24:23 2009 +0000 (2009-12-04) |
parents | |
children | f9dee07625aa |
line source
1 # SliTaz package receipt.
3 PACKAGE="iproute2"
4 VERSION="2.6.29"
5 CATEGORY="networking"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $_pkg/usr $fs/
32 cp -a $_pkg/etc $fs/
33 cp -a $_pkg/lib $fs/
34 cp -a $_pkg/sbin $fs/
35 }