wok view gens-gs/receipt @ rev 17987

slitaz-base-files: up (267), fix HTTP POST form bug.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 22 11:58:12 2015 +0300 (2015-04-22)
parents a0250385f2a5
children b01314c762e9
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="http://segaretro.org/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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/gens-gtk.patch || return 1
23 chmod +x install-sh
24 ./configure $CONFIGURE_ARGS
25 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
26 make -j1 && make -j1 DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib/mdp
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/mdp/*.so $fs/usr/lib/mdp
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/gens $fs/usr/share
37 }