wok-6.x diff stuntman/receipt @ rev 20130

Up slitaz-boot-scripts (446)
author Richard Dunbar <mojo@slitaz.org>
date Fri Oct 27 12:29:47 2017 -0400 (2017-10-27)
parents
children 046ec054ad86
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stuntman/receipt	Fri Oct 27 12:29:47 2017 -0400
     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 +