wok-6.x annotate ptunnel/receipt @ rev 15967
glib: an attemp to cross compile it to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 24 17:36:28 2014 +0100 (2014-02-24) |
parents | 9a783066b30f |
children | e4cda1000ec7 |
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" |
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" |
slaxemulator@9152 | 13 |
pascal@10486 | 14 DEPENDS="libpcap" |
pascal@10486 | 15 BUILD_DEPENDS="libpcap-dev" |
pascal@10486 | 16 |
slaxemulator@9152 | 17 # Rules to configure and make the package. |
slaxemulator@9152 | 18 compile_rules() |
slaxemulator@9152 | 19 { |
slaxemulator@9152 | 20 cd $src |
slaxemulator@9152 | 21 make |
slaxemulator@9152 | 22 } |
slaxemulator@9152 | 23 |
slaxemulator@9152 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9152 | 25 genpkg_rules() |
slaxemulator@9152 | 26 { |
slaxemulator@9152 | 27 mkdir -p $fs/usr/bin |
slaxemulator@9152 | 28 cp -a $src/ptunnel $fs/usr/bin |
slaxemulator@9152 | 29 } |
slaxemulator@9152 | 30 |