wok-current annotate ptunnel/receipt @ rev 16154
remove libtaz, see http://hg.slitaz.org/slitaz-dev-tools/rev/712c188572fc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:10:02 2014 +0000 (2014-03-28) |
parents | e4cda1000ec7 |
children | edcd0ce36fe8 |
rev | line source |
---|---|
slaxemulator@9152 | 1 # SliTaz package receipt. |
slaxemulator@9152 | 2 |
slaxemulator@9152 | 3 PACKAGE="ptunnel" |
slaxemulator@9152 | 4 VERSION="0.71" |
slaxemulator@9152 | 5 CATEGORY="network" |
slaxemulator@9152 | 6 SHORT_DESC="ptunnel tunnels TCP using ICMP echo request" |
slaxemulator@9152 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15376 | 8 LICENSE="BSD" |
slaxemulator@9152 | 9 SOURCE="PingTunnel" |
slaxemulator@9152 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9152 | 11 WEB_SITE="http://www.cs.uit.no/~daniels/PingTunnel/" |
slaxemulator@9152 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@16049 | 13 HOST_ARCH="i486 arm" |
slaxemulator@9152 | 14 |
pascal@10486 | 15 DEPENDS="libpcap" |
pascal@10486 | 16 BUILD_DEPENDS="libpcap-dev" |
pascal@10486 | 17 |
slaxemulator@9152 | 18 # Rules to configure and make the package. |
slaxemulator@9152 | 19 compile_rules() |
slaxemulator@9152 | 20 { |
pankso@16042 | 21 make CC=${HOST_SYSTEM}-gcc |
slaxemulator@9152 | 22 } |
slaxemulator@9152 | 23 |
slaxemulator@9152 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9152 | 25 genpkg_rules() |
slaxemulator@9152 | 26 { |
slaxemulator@9152 | 27 mkdir -p $fs/usr/bin |
slaxemulator@9152 | 28 cp -a $src/ptunnel $fs/usr/bin |
slaxemulator@9152 | 29 } |
slaxemulator@9152 | 30 |
pankso@16042 | 31 testsuite() { |
pankso@16042 | 32 readelf -h ${src}/ptunnel |
pankso@16042 | 33 } |