wok-next diff softgun/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 8d3183aefad5
children
line diff
     1.1 --- a/softgun/receipt	Thu Oct 19 19:25:50 2017 +0200
     1.2 +++ b/softgun/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,34 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="softgun"
     1.8  VERSION="0.20"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="ARM software emulator."
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +SHORT_DESC="ARM software emulator"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 +WEB_SITE="http://softgun.sourceforge.net/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tgz"
    1.18 -WEB_SITE="http://softgun.sourceforge.net/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="emulator arm"
    1.21  
    1.22 -DEPENDS="alsa-lib"
    1.23  BUILD_DEPENDS="alsa-lib-dev zlib-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 -	mkdir -p $DESTDIR/usr/bin
    1.30 -	make && make prefix=$DESTDIR/usr install
    1.31 +compile_rules() {
    1.32 +	mkdir -p $install/usr/bin
    1.33 +
    1.34 +	make &&
    1.35 +	make prefix=$install/usr install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	mkdir -p \
    1.43  		$fs/usr/share/softgun \
    1.44  		$fs/usr/share/doc/sotfgun
    1.45  	cp -a $install/usr/bin $fs/usr
    1.46  	cp -a $src/configs $fs/usr/share/softgun
    1.47  	cp $src/README $fs/usr/share/doc/sotfgun
    1.48 +	DEPENDS="alsa-lib"
    1.49 +	TAGS="emulator arm"
    1.50  }