wok-next diff stuntman/receipt @ rev 20342

gkII: tiny png patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 17 15:57:17 2017 +0100 (2017-11-17)
parents f76081ad48d4
children e6615350078d
line diff
     1.1 --- a/stuntman/receipt	Fri Jan 31 15:38:12 2014 +0000
     1.2 +++ b/stuntman/receipt	Fri Nov 17 15:57:17 2017 +0100
     1.3 @@ -1,31 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="stuntman"
     1.8 -VERSION="1.2.6"
     1.9 +VERSION="1.2.13"
    1.10  CATEGORY="network"
    1.11 -SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)."
    1.12 +SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="Apache"
    1.15 -SOURCE="stunserver"
    1.16 -TARBALL="$SOURCE-$VERSION.tgz"
    1.17  WEB_SITE="http://www.stunprotocol.org/"
    1.18 -WGET_URL="$WEB_SITE/$TARBALL"
    1.19  
    1.20 -DEPENDS="gcc-lib-base libcrypto zlib"
    1.21 +TARBALL="stunserver-$VERSION.tgz"
    1.22 +WGET_URL="${WEB_SITE}$TARBALL"
    1.23 +
    1.24  BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	make
    1.30 +
    1.31 +	mkdir -p $install/usr/bin
    1.32 +	cp -a stunserver stunclient stuntestcode $install/usr/bin
    1.33 +	cook_pick_manpages resources/stunclient.1 resources/stunserver.1
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/bin
    1.40 -	cp $src/stunserver $fs/usr/bin
    1.41 -	cp $src/stunclient $fs/usr/bin
    1.42 -	cp $src/stuntestcode $fs/usr/bin
    1.43 +	copy @std
    1.44 +	DEPENDS="libcrypto zlib"
    1.45  }
    1.46