wok diff sz81/receipt @ rev 19715

Up cookutils(876): to fix amsn post-build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 16 02:22:14 2017 +0200 (2017-02-16)
parents
children e919c5a2742d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sz81/receipt	Thu Feb 16 02:22:14 2017 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sz81"
     1.7 +VERSION="2.1.7"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="zx81 emulator/virtual machine.."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://sz81.sourceforge.net/"
    1.13 +TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +TAGS="emulator zx81"
    1.16 +
    1.17 +DEPENDS="libsdl"
    1.18 +BUILD_DEPENDS="libsdl-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	make clean &&
    1.24 +	make &&
    1.25 +	make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
    1.26 +		DOCDIR=$DESTDIR/usr/share/doc \
    1.27 +		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share $fs/usr
    1.36 +}