wok-current view raine/receipt @ rev 24885
updated mcabber (0.9.10 -> 1.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:52:41 2022 +0100 (2022-04-01) |
parents | d300343d856c |
children | 870e1ce31226 |
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 libpng libsdl-image liblzma libsdl-ttf muparser mesa"
15 BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/zelurker/raine/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 touch -d 197001010000 make.dep cpuinfo
28 [ -s "$SOURCES_REPOSITORY/raines-0.51.9.tar.bz2" ] ||
29 wget -P $SOURCES_REPOSITORY \
30 http://mirror.yandex.ru/gentoo-distfiles/distfiles/raines-0.51.9.tar.bz2
31 tar xf $SOURCES_REPOSITORY/raines-0.51.9.tar.bz2
32 mv raine-0.51.9/fonts .
33 mv raine-0.51.9/scripts .
34 mv raine-0.51.9/bitmaps .
35 make $MAKEFLAGS && make DESTDIR=$DESTDIR PREFIX=$install/usr/ install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/
42 cp -a $install/usr/games $fs/usr/
43 cp -a $install/usr/share $fs/usr/
44 }