wok annotate ptunnel/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | edcd0ce36fe8 |
children |
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 |
pascal@24425 | 18 # What is the latest version available today? |
pascal@24425 | 19 current_version() |
pascal@24425 | 20 { |
pascal@24425 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 22 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 23 } |
pascal@24425 | 24 |
slaxemulator@9152 | 25 # Rules to configure and make the package. |
slaxemulator@9152 | 26 compile_rules() |
slaxemulator@9152 | 27 { |
pankso@16042 | 28 make CC=${HOST_SYSTEM}-gcc |
slaxemulator@9152 | 29 } |
slaxemulator@9152 | 30 |
slaxemulator@9152 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9152 | 32 genpkg_rules() |
slaxemulator@9152 | 33 { |
slaxemulator@9152 | 34 mkdir -p $fs/usr/bin |
slaxemulator@9152 | 35 cp -a $src/ptunnel $fs/usr/bin |
slaxemulator@9152 | 36 } |
slaxemulator@9152 | 37 |
pankso@16042 | 38 testsuite() { |
pankso@16042 | 39 readelf -h ${src}/ptunnel |
pankso@16042 | 40 } |