wok annotate stuntman/receipt @ rev 16538
Up: slitaz-arm-configs + slitaz-arm-rpi
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 28 22:05:57 2014 +0200 (2014-04-28) |
parents | |
children | 046ec054ad86 |
rev | line source |
---|---|
pascal@15867 | 1 # SliTaz package receipt. |
pascal@15867 | 2 |
pascal@15867 | 3 PACKAGE="stuntman" |
pascal@15867 | 4 VERSION="1.2.6" |
pascal@15867 | 5 CATEGORY="network" |
pascal@15867 | 6 SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)." |
pascal@15867 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15867 | 8 LICENSE="Apache" |
pascal@15867 | 9 SOURCE="stunserver" |
pascal@15867 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@15867 | 11 WEB_SITE="http://www.stunprotocol.org/" |
pascal@15867 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@15867 | 13 |
pascal@15867 | 14 DEPENDS="gcc-lib-base libcrypto zlib" |
pascal@15867 | 15 BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev" |
pascal@15867 | 16 |
pascal@15867 | 17 # Rules to configure and make the package. |
pascal@15867 | 18 compile_rules() |
pascal@15867 | 19 { |
pascal@15867 | 20 make |
pascal@15867 | 21 } |
pascal@15867 | 22 |
pascal@15867 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15867 | 24 genpkg_rules() |
pascal@15867 | 25 { |
pascal@15867 | 26 mkdir -p $fs/usr/bin |
pascal@15867 | 27 cp $src/stunserver $fs/usr/bin |
pascal@15867 | 28 cp $src/stunclient $fs/usr/bin |
pascal@15867 | 29 cp $src/stuntestcode $fs/usr/bin |
pascal@15867 | 30 } |
pascal@15867 | 31 |