wok view ptunnel/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 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 }