wok-current view gens-gs/receipt @ rev 24999

updated nmap (7.80 -> 7.92)
author Hans-G?nter Theisgen
date Mon May 16 13:38:34 2022 +0100 (2022-05-16)
parents b01314c762e9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gens-gs"
4 VERSION="2.15.5_gs_r7"
5 CATEGORY="games"
6 SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 _VERSION=gs-r7
10 TARBALL="Gens-${_VERSION}.tar.gz"
11 WEB_SITE="http://info.sonicretro.org/Gens/GS"
12 WGET_URL="https://retrocdn.net/images/6/6d/$TARBALL"
13 TAGS="emulator sega"
15 DEPENDS="gtk+ libsdl libglu-mesa"
16 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://raw.githubusercontent.com/lutris/gens/master/ChangeLog.txt 2>/dev/null | \
22 sed '/new in Gens/!d;s|.*v||;s|/.*|_gs_r7|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 patch -Np1 -i $stuff/gens-gtk.patch || return 1
30 chmod +x install-sh
31 ./configure $CONFIGURE_ARGS
32 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
33 make -j1 && make -j1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share $fs/usr/lib/mdp
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/mdp/*.so $fs/usr/lib/mdp
42 cp -a $install/usr/share/applications $fs/usr/share
43 cp -a $install/usr/share/gens $fs/usr/share
44 }