wok-next annotate ptunnel/receipt @ rev 11589

hydrogen: install hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 09 16:38:12 2012 +0100 (2012-01-09)
parents e7947833aa28
children bf4a09ef1d2e
rev   line source
slaxemulator@9152 1 # SliTaz package receipt.
slaxemulator@9152 2
slaxemulator@9152 3 PACKAGE="ptunnel"
slaxemulator@9152 4 VERSION="0.71"
slaxemulator@9152 5 CATEGORY="network"
slaxemulator@9152 6 SHORT_DESC="ptunnel tunnels TCP using ICMP echo request"
slaxemulator@9152 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9152 8 SOURCE="PingTunnel"
slaxemulator@9152 9 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@9152 10 WEB_SITE="http://www.cs.uit.no/~daniels/PingTunnel/"
slaxemulator@9152 11 WGET_URL="$WEB_SITE/$TARBALL"
slaxemulator@9152 12
pascal@10486 13 DEPENDS="libpcap"
pascal@10486 14 BUILD_DEPENDS="libpcap-dev"
pascal@10486 15
slaxemulator@9152 16 # Rules to configure and make the package.
slaxemulator@9152 17 compile_rules()
slaxemulator@9152 18 {
slaxemulator@9152 19 cd $src
slaxemulator@9152 20 make
slaxemulator@9152 21 }
slaxemulator@9152 22
slaxemulator@9152 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9152 24 genpkg_rules()
slaxemulator@9152 25 {
slaxemulator@9152 26 mkdir -p $fs/usr/bin
slaxemulator@9152 27 cp -a $src/ptunnel $fs/usr/bin
slaxemulator@9152 28 }
slaxemulator@9152 29