wok-6.x diff nat-tester/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | bee79018e13a |
children | c85bdee1fe53 |
line diff
1.1 --- a/nat-tester/receipt Wed Feb 24 10:31:06 2010 +0000 1.2 +++ b/nat-tester/receipt Fri Jan 30 10:17:37 2015 +0100 1.3 @@ -5,13 +5,15 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Network Address Translator tester." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL3" 1.8 SOURCE="linuxTester" 1.9 TARBALL="linuxNatTester.tar.gz" 1.10 WEB_SITE="http://nattest.net.in.tum.de/" 1.11 WGET_URL="${WEB_SITE}$TARBALL" 1.12 +TAGS="networking" 1.13 + 1.14 BUILD_DEPENDS="pkg-config libsctp-dev libsctp zlib-dev libxml2-dev" 1.15 DEPENDS="zlib gcc-lib-base libxml2" 1.16 -TAGS="networking" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -21,14 +23,14 @@ 1.21 --mandir=/usr/share/man \ 1.22 $CONFIGURE_ARGS && 1.23 make && 1.24 - make DESTDIR=$PWD/_pkg install 1.25 + make DESTDIR=$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 mkdir -p $fs/usr/share/nat-tester 1.32 - cp -a $_pkg/usr/bin/NatTester $fs/usr/share/nat-tester 1.33 + cp -a $install/usr/bin/NatTester $fs/usr/share/nat-tester 1.34 cp -a $src/src/framework.cfg $fs/usr/share/nat-tester 1.35 } 1.36