wok-next diff stund/receipt @ rev 20532

moc, mypaint: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 26 13:35:23 2018 +0200 (2018-03-26)
parents e30611c357f2
children 7506b35e1c6f
line diff
     1.1 --- a/stund/receipt	Fri Jan 31 15:50:52 2014 +0000
     1.2 +++ b/stund/receipt	Mon Mar 26 13:35:23 2018 +0200
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="stund"
     1.8  VERSION="0.97"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="a simple STUN server and client."
    1.11 +SHORT_DESC="Simple STUN server and client"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="other"
    1.14 +WEB_SITE="http://sourceforge.net/projects/stun/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 -WEB_SITE="http://sourceforge.net/projects/stun/"
    1.18  WGET_URL="$SF_MIRROR/stun/$TARBALL"
    1.19  
    1.20 -DEPENDS="gcc-lib-base"
    1.21 -BUILD_DEPENDS=""
    1.22 +compile_rules() {
    1.23 +	make || return 1
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	make
    1.29 +	install -Dm755 $src/server $install/usr/bin/stunserver
    1.30 +	install -Dm755 $src/client $install/usr/bin/stunclient
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/bin
    1.37 -	cp -a $src/server $fs/usr/bin/stunserver
    1.38 -	cp -a $src/client $fs/usr/bin/stunclient
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="gcc-lib-base"
    1.42  }