wok-current annotate raine/receipt @ rev 25048
glusterfs: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 14:47:50 2022 +0000 (2022-06-04) |
parents | 7c0170dd3ecc |
children | 196372051572 |
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" |
pascal@24894 | 10 WEB_SITE="https://raine.1emulation.com/" |
devl547@13977 | 11 WGET_URL="$WEB_SITE/cgi-bin/gitweb.cgi?p=raine;a=snapshot;h=02988ce197bc5b9f1a9eae66251e883d649cc03b;sf=tgz" |
pascal@18931 | 12 EXTRA_SOURCE_FILES="raines-0.51.9.tar.bz2" |
pascal@15610 | 13 |
pascal@15610 | 14 DEPENDS="libsdl zlib libpng libsdl-image liblzma libsdl-ttf muparser mesa" |
pascal@15610 | 15 BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev" |
pascal@15610 | 16 |
pascal@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://github.com/zelurker/raine/tags 2>/dev/null | \ |
pascal@24535 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24535 | 22 } |
pascal@24535 | 23 |
devl547@13977 | 24 # Rules to configure and make the package. |
devl547@13977 | 25 compile_rules() |
devl547@13977 | 26 { |
pascal@15122 | 27 touch -d 197001010000 make.dep cpuinfo |
pascal@18931 | 28 [ -s "$SOURCES_REPOSITORY/raines-0.51.9.tar.bz2" ] || |
pascal@18931 | 29 wget -P $SOURCES_REPOSITORY \ |
pascal@18931 | 30 http://mirror.yandex.ru/gentoo-distfiles/distfiles/raines-0.51.9.tar.bz2 |
pascal@18931 | 31 tar xf $SOURCES_REPOSITORY/raines-0.51.9.tar.bz2 |
devl547@13977 | 32 mv raine-0.51.9/fonts . |
devl547@13977 | 33 mv raine-0.51.9/scripts . |
devl547@13977 | 34 mv raine-0.51.9/bitmaps . |
devl547@13977 | 35 make $MAKEFLAGS && make DESTDIR=$DESTDIR PREFIX=$install/usr/ install |
devl547@13977 | 36 } |
devl547@13977 | 37 |
devl547@13977 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@13977 | 39 genpkg_rules() |
devl547@13977 | 40 { |
devl547@13977 | 41 mkdir -p $fs/usr/ |
devl547@13977 | 42 cp -a $install/usr/games $fs/usr/ |
devl547@13977 | 43 cp -a $install/usr/share $fs/usr/ |
devl547@13977 | 44 } |