wok diff raine/receipt @ rev 14174

Add linuxconsoletools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 09 13:08:54 2013 +0100 (2013-03-09)
parents
children 11cce6c93ceb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/raine/receipt	Sat Mar 09 13:08:54 2013 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="raine"
     1.7 +VERSION="0.60.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Emulates M68K Taito and Jaleco arcade machines"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +DEPENDS="libsdl zlib libpng libsdl-image liblzma libsdl-ttf muparser mesa"
    1.12 +BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://rainemu.swishparty.co.uk"
    1.15 +WGET_URL="$WEB_SITE/cgi-bin/gitweb.cgi?p=raine;a=snapshot;h=02988ce197bc5b9f1a9eae66251e883d649cc03b;sf=tgz"
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	wget http://mirror.yandex.ru/gentoo-distfiles/distfiles/raines-0.51.9.tar.bz2
    1.21 +	tar xf raines-0.51.9.tar.bz2
    1.22 +	mv raine-0.51.9/fonts .
    1.23 +	mv raine-0.51.9/scripts .
    1.24 +	mv raine-0.51.9/bitmaps .
    1.25 +	make $MAKEFLAGS && make DESTDIR=$DESTDIR PREFIX=$install/usr/ install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/
    1.32 +	cp -a $install/usr/games $fs/usr/
    1.33 +	cp -a $install/usr/share $fs/usr/
    1.34 +}