wok-next view raine/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 0fcf48f89432
children c0521c689857
line source
1 # SliTaz package receipt.
3 PACKAGE="raine"
4 VERSION="0.60.1"
5 CATEGORY="games"
6 SHORT_DESC="Emulates M68K Taito and Jaleco arcade machines"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rainemu.swishparty.co.uk"
11 WGET_URL="$WEB_SITE/cgi-bin/gitweb.cgi?p=raine;a=snapshot;h=02988ce197bc5b9f1a9eae66251e883d649cc03b;sf=tgz"
12 EXTRA_SOURCE_FILES="raines-0.51.9.tar.bz2"
14 DEPENDS="libsdl zlib libpng16 libsdl-image liblzma libsdl-ttf muparser mesa"
15 BUILD_DEPENDS="libsdl-dev zlib-dev libpng16-dev nasm libsdl-image-dev xz-dev \
16 libsdl-ttf-dev muparser-dev mesa-dev libglu-mesa-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 touch -d 197001010000 make.dep cpuinfo
22 [ -s "$SOURCES_REPOSITORY/raines-0.51.9.tar.bz2" ] ||
23 wget -P $SOURCES_REPOSITORY \
24 http://mirror.yandex.ru/gentoo-distfiles/distfiles/raines-0.51.9.tar.bz2
25 tar xf $SOURCES_REPOSITORY/raines-0.51.9.tar.bz2
26 mv raine-0.51.9/fonts .
27 mv raine-0.51.9/scripts .
28 mv raine-0.51.9/bitmaps .
29 make $MAKEFLAGS && make DESTDIR=$DESTDIR PREFIX=$install/usr/ install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/
36 cp -a $install/usr/games $fs/usr/
37 cp -a $install/usr/share $fs/usr/
38 }