wok view raine/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | 7c0170dd3ecc |
children | 196372051572 |
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="$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 }