# HG changeset patch # User Allan Pinto # Date 1259582264 0 # Node ID 3a5667bf27da303b232bc7bd7639fce5be14da91 # Parent 2ea8600e43294413465b4035f3680b4f0e97595b add: iproute2 diff -r 2ea8600e4329 -r 3a5667bf27da iproute2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iproute2/receipt Mon Nov 30 11:57:44 2009 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="iproute2" +VERSION="2.6.29" +CATEGORY="networking" +SHORT_DESC="utilites for networking and traffic control" +MAINTAINER="allan316@gmail.com" +DEPENDS="iptables db" +BUILD_DEPENDS="db-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" +WGET_URL="http://devresources.linux-foundation.org/dev/$PACKAGE/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's//\n#include /' ip/link_gre.c + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs/ + cp -a $_pkg/etc $fs/ + cp -a $_pkg/lib $fs/ + cp -a $_pkg/sbin $fs/ +} +