wok-current rev 16560

Add sz81
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 01 08:30:04 2014 +0000 (2014-05-01)
parents fa9db14ed7f4
children 5dd63acec41c
files 8086tiny/receipt sz81/receipt
line diff
     1.1 --- a/8086tiny/receipt	Thu May 01 10:19:32 2014 +0200
     1.2 +++ b/8086tiny/receipt	Thu May 01 08:30:04 2014 +0000
     1.3 @@ -10,6 +10,7 @@
     1.4  WEB_SITE="http://www.megalith.co.uk/8086tiny"
     1.5  WGET_URL="$WEB_SITE/downloads/$TARBALL"
     1.6  HOST_ARCH="i486 arm"
     1.7 +TAGS="emulator 8086"
     1.8  
     1.9  DEPENDS="libsdl"
    1.10  BUILD_DEPENDS="libsdl-dev nasm"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/sz81/receipt	Thu May 01 08:30:04 2014 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="sz81"
     2.7 +VERSION="2.1.7"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="zx81 emulator/virtual machine.."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://sz81.sourceforge.net/"
    2.13 +TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 +TAGS="emulator zx81"
    2.16 +
    2.17 +DEPENDS="libsdl"
    2.18 +BUILD_DEPENDS="libsdl-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	make clean &&
    2.24 +	make &&
    2.25 +	make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
    2.26 +		DOCDIR=$DESTDIR/usr/share/doc \
    2.27 +		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr
    2.34 +	cp -a $install/usr/bin $fs/usr
    2.35 +	cp -a $install/usr/share $fs/usr
    2.36 +}