wok-next diff ptunnel/receipt @ rev 20892
linux: up (4.17.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 20 01:20:51 2018 +0300 (2018-07-20) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/ptunnel/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/ptunnel/receipt Fri Jul 20 01:20:51 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ptunnel" 1.8 VERSION="0.72" 1.9 @@ -6,27 +6,23 @@ 1.10 SHORT_DESC="ptunnel tunnels TCP using ICMP echo request" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="BSD" 1.13 -SOURCE="PingTunnel" 1.14 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 WEB_SITE="http://www.cs.uit.no/~daniels/PingTunnel/" 1.16 + 1.17 +TARBALL="PingTunnel-$VERSION.tar.gz" 1.18 WGET_URL="$WEB_SITE/$TARBALL" 1.19 1.20 -DEPENDS="libpcap" 1.21 BUILD_DEPENDS="libpcap-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - make CC=${HOST_SYSTEM}-gcc 1.27 +compile_rules() { 1.28 + make CC=${HOST_SYSTEM}-gcc && 1.29 + install -Dm 755 $src/ptunnel $install/usr/bin/ptunnel 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/usr/bin 1.36 - cp -a $src/ptunnel $fs/usr/bin 1.37 +genpkg_rules() { 1.38 + copy @std 1.39 + DEPENDS="libpcap" 1.40 } 1.41 1.42 testsuite() { 1.43 - readelf -h ${src}/ptunnel 1.44 + readelf -h $src/ptunnel 1.45 }