wok-next diff sz81/receipt @ rev 20806

I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 08:26:54 2018 +0000 (2018-06-13)
parents 77400cc56de2
children d5aab818505e
line diff
     1.1 --- a/sz81/receipt	Thu May 01 08:30:04 2014 +0000
     1.2 +++ b/sz81/receipt	Wed Jun 13 08:26:54 2018 +0000
     1.3 @@ -1,33 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="sz81"
     1.8  VERSION="2.1.7"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="zx81 emulator/virtual machine.."
    1.11 +SHORT_DESC="zx81 emulator/virtual machine"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://sz81.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 -TAGS="emulator zx81"
    1.19  
    1.20 -DEPENDS="libsdl"
    1.21  BUILD_DEPENDS="libsdl-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	make clean &&
    1.28  	make &&
    1.29 -	make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
    1.30 +	make \
    1.31 +		PREFIX=$DESTDIR/usr \
    1.32 +		BINDIR=$DESTDIR/usr/bin \
    1.33  		DOCDIR=$DESTDIR/usr/share/doc \
    1.34 -		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
    1.35 +		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 \
    1.36 +		install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/share $fs/usr
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="libsdl"
    1.48 +	TAGS="emulator zx81"
    1.49  }