wok-6.x annotate stund/receipt @ rev 15868
Add stund
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 31 15:50:52 2014 +0000 (2014-01-31) |
parents | |
children | 86790a278e70 |
rev | line source |
---|---|
pascal@15868 | 1 # SliTaz package receipt. |
pascal@15868 | 2 |
pascal@15868 | 3 PACKAGE="stund" |
pascal@15868 | 4 VERSION="0.97" |
pascal@15868 | 5 CATEGORY="network" |
pascal@15868 | 6 SHORT_DESC="a simple STUN server and client." |
pascal@15868 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15868 | 8 LICENSE="other" |
pascal@15868 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@15868 | 10 WEB_SITE="http://sourceforge.net/projects/stun/" |
pascal@15868 | 11 WGET_URL="$SF_MIRROR/stun/$TARBALL" |
pascal@15868 | 12 |
pascal@15868 | 13 DEPENDS="gcc-lib-base" |
pascal@15868 | 14 BUILD_DEPENDS="" |
pascal@15868 | 15 |
pascal@15868 | 16 # Rules to configure and make the package. |
pascal@15868 | 17 compile_rules() |
pascal@15868 | 18 { |
pascal@15868 | 19 make |
pascal@15868 | 20 } |
pascal@15868 | 21 |
pascal@15868 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15868 | 23 genpkg_rules() |
pascal@15868 | 24 { |
pascal@15868 | 25 mkdir -p $fs/usr/bin |
pascal@15868 | 26 cp -a $src/server $fs/usr/bin/stunserver |
pascal@15868 | 27 cp -a $src/client $fs/usr/bin/stunclient |
pascal@15868 | 28 } |