wok-stable diff linapple/receipt @ rev 11207

Add from wok-undigest: gnome-games-glchess gnome-games-icons gnome-games-sudoku gnome-games gnome-js-common gnome-keyring gnome-vfs-monikers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 11:15:24 2011 +0100 (2011-11-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linapple/receipt	Thu Nov 03 11:15:24 2011 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linapple"
     1.7 +VERSION="1.1b"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Apple //e emulator."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-src$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://linapple.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +BUILD_DEPENDS="gcc3 libsdl-dev zlib-dev"
    1.15 +DEPENDS="gcc-lib-base libsdl zlib"
    1.16 +CONFIG_FILES="/etc/linapple.conf"
    1.17 +TAGS="emulator apple2"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mv $PACKAGE-src_$VERSION $src 2> /dev/null
    1.23 +	cd $src/src
    1.24 +	grep -q /usr/share/apple2 Applewin.cpp ||
    1.25 +	sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp
    1.26 +	make CC=g++-3
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc
    1.33 +	cp $src/linapple $fs/usr/bin
    1.34 +	cp $src/*.bmp $fs/usr/share/apple2
    1.35 +	cp $src/linapple.conf $fs/etc
    1.36 +	ln -s /etc/linapple.conf $fs/usr/share/apple2
    1.37 +}