wok annotate ptunnel/receipt @ rev 18928
Add webdiapo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 16:42:59 2016 +0100 (2016-02-25) |
parents | c3ad9b49925b |
children | 453c249b6219 |
rev | line source |
---|---|
slaxemulator@9152 | 1 # SliTaz package receipt. |
slaxemulator@9152 | 2 |
slaxemulator@9152 | 3 PACKAGE="ptunnel" |
pascal@18826 | 4 VERSION="0.72" |
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 } |