wok diff net-tools/receipt @ rev 16298
Up: xfce4-dev-tools (4.11.0)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Apr 07 08:07:32 2014 +0000 (2014-04-07) |
parents | 6b4a47136bff |
children | f499057669ab |
line diff
1.1 --- a/net-tools/receipt Thu Nov 03 17:36:16 2011 +0100 1.2 +++ b/net-tools/receipt Mon Apr 07 08:07:32 2014 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Network toolbox." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.9 WEB_SITE="http://www.tazenda.demon.co.uk/phil/net-tools" 1.10 WGET_URL="$WEB_SITE/$TARBALL" 1.11 @@ -13,7 +14,7 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - mkdir _pkg 1.16 + mkdir $DESTDIR 1.17 enabled="HAVE_AFUNIX HAVE_AFINET HAVE_HWETHER HAVE_HWPPP \ 1.18 HAVE_HWTUNNEL HAVE_FW_MASQUERADE HAVE_IP_TOOLS HAVE_MII" 1.19 sed '/HAVE_/!d;s/.*\(HAVE.*\)../\1/' < config.in | while read name; do 1.20 @@ -27,12 +28,12 @@ 1.21 sed -i 's/default:/&;/' hostname.c lib/inet_sr.c 1.22 sed -i '/"usage/,/10baseT/s/.*/&\\n\\/' mii-tool.c 1.23 make && 1.24 - make BASEDIR=$PWD/_pkg install 1.25 + make BASEDIR=$DESTDIR install 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 - cp -a $_pkg/bin $fs 1.32 - cp -a $_pkg/sbin $fs 1.33 + cp -a $install/bin $fs 1.34 + cp -a $install/sbin $fs 1.35 }