wok view ptunnel/receipt @ rev 20711

Add stunnel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 06 16:26:24 2019 +0100 (2019-02-06)
parents c3ad9b49925b
children 453c249b6219
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make CC=${HOST_SYSTEM}-gcc
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/ptunnel $fs/usr/bin
29 }
31 testsuite() {
32 readelf -h ${src}/ptunnel
33 }