wok-6.x rev 15867

Add stuntman
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 31 15:38:12 2014 +0000 (2014-01-31)
parents 5ca86f3045d4
children e30611c357f2
files stuntman/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stuntman/receipt	Fri Jan 31 15:38:12 2014 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stuntman"
     1.7 +VERSION="1.2.6"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Apache"
    1.12 +SOURCE="stunserver"
    1.13 +TARBALL="$SOURCE-$VERSION.tgz"
    1.14 +WEB_SITE="http://www.stunprotocol.org/"
    1.15 +WGET_URL="$WEB_SITE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gcc-lib-base libcrypto zlib"
    1.18 +BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	make
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/bin
    1.30 +	cp $src/stunserver $fs/usr/bin
    1.31 +	cp $src/stunclient $fs/usr/bin
    1.32 +	cp $src/stuntestcode $fs/usr/bin
    1.33 +}
    1.34 +