wok-current annotate raine/receipt @ rev 15610

linux64*: fix install/_pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 07 06:59:03 2013 +0000 (2013-12-07)
parents 11cce6c93ceb
children 5b16e60b3d24
rev   line source
devl547@13977 1 # SliTaz package receipt.
devl547@13977 2
devl547@13977 3 PACKAGE="raine"
devl547@13977 4 VERSION="0.60.1"
devl547@13977 5 CATEGORY="games"
devl547@13977 6 SHORT_DESC="Emulates M68K Taito and Jaleco arcade machines"
devl547@13977 7 MAINTAINER="devl547@gmail.com"
pascal@15610 8 LICENSE="other"
devl547@13977 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@13977 10 WEB_SITE="http://rainemu.swishparty.co.uk"
devl547@13977 11 WGET_URL="$WEB_SITE/cgi-bin/gitweb.cgi?p=raine;a=snapshot;h=02988ce197bc5b9f1a9eae66251e883d649cc03b;sf=tgz"
pascal@15610 12
pascal@15610 13 DEPENDS="libsdl zlib libpng libsdl-image liblzma libsdl-ttf muparser mesa"
pascal@15610 14 BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev"
pascal@15610 15
devl547@13977 16 # Rules to configure and make the package.
devl547@13977 17 compile_rules()
devl547@13977 18 {
devl547@13977 19 cd $src
pascal@15122 20 touch -d 197001010000 make.dep cpuinfo
devl547@13977 21 wget http://mirror.yandex.ru/gentoo-distfiles/distfiles/raines-0.51.9.tar.bz2
devl547@13977 22 tar xf raines-0.51.9.tar.bz2
devl547@13977 23 mv raine-0.51.9/fonts .
devl547@13977 24 mv raine-0.51.9/scripts .
devl547@13977 25 mv raine-0.51.9/bitmaps .
devl547@13977 26 make $MAKEFLAGS && make DESTDIR=$DESTDIR PREFIX=$install/usr/ install
devl547@13977 27 }
devl547@13977 28
devl547@13977 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13977 30 genpkg_rules()
devl547@13977 31 {
devl547@13977 32 mkdir -p $fs/usr/
devl547@13977 33 cp -a $install/usr/games $fs/usr/
devl547@13977 34 cp -a $install/usr/share $fs/usr/
devl547@13977 35 }