wok view ptunnel/receipt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (21 months ago) |
parents | edcd0ce36fe8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ptunnel"
4 VERSION="0.72"
5 CATEGORY="network"
6 SHORT_DESC="ptunnel tunnels TCP using ICMP echo request"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 SOURCE="PingTunnel"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cs.uit.no/~daniels/PingTunnel/"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libpcap"
16 BUILD_DEPENDS="libpcap-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make CC=${HOST_SYSTEM}-gcc
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/ptunnel $fs/usr/bin
36 }
38 testsuite() {
39 readelf -h ${src}/ptunnel
40 }