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