wok-6.x view raine/receipt @ rev 25419
Up bzip3 (1.1.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 06 11:13:43 2022 +0000 (2022-08-06) |
parents | 870e1ce31226 |
children |
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="https://raine.1emulation.com/"
11 WGET_URL="https://github.com/zelurker/raine/archive/refs/tags/raine$VERSION.tar.gz"
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 }