wok-4.x diff net-tools/receipt @ rev 11624
Add libwebkit-video
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 25 18:12:23 2012 +0100 (2012-01-25) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/net-tools/receipt Wed Jan 25 18:12:23 2012 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="net-tools" 1.7 +VERSION="1.60" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Network toolbox." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://www.tazenda.demon.co.uk/phil/net-tools" 1.13 +WGET_URL="$WEB_SITE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + mkdir _pkg 1.20 + enabled="HAVE_AFUNIX HAVE_AFINET HAVE_HWETHER HAVE_HWPPP \ 1.21 + HAVE_HWTUNNEL HAVE_FW_MASQUERADE HAVE_IP_TOOLS HAVE_MII" 1.22 + sed '/HAVE_/!d;s/.*\(HAVE.*\)../\1/' < config.in | while read name; do 1.23 + val=0 1.24 + case " $enabled " in 1.25 + *\ $name\ *) val=1 ;; 1.26 + esac 1.27 + echo "#define $name $val" 1.28 + echo "$name=$val" 1>&2 1.29 + done > config.h 2> config.make 1.30 + sed -i 's/default:/&;/' hostname.c lib/inet_sr.c 1.31 + sed -i '/"usage/,/10baseT/s/.*/&\\n\\/' mii-tool.c 1.32 + make && 1.33 + make BASEDIR=$PWD/_pkg install 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + cp -a $_pkg/bin $fs 1.40 + cp -a $_pkg/sbin $fs 1.41 +}