wok-6.x view gens-gs/receipt @ rev 9294

Down erlang (R12B-5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 17 11:20:04 2011 +0100 (2011-03-17)
parents 8b7969d3a0f2
children c75f6dba6ff3
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 DEPENDS="gtk+ libsdl libglu-mesa"
9 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
10 _VERSION=gs-r7
11 TARBALL="Gens-${_VERSION}.tar.gz"
12 WEB_SITE="http://info.sonicretro.org/Gens/GS"
13 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i ../stuff/gens-gtk.patch || return 1
20 chmod +x install-sh
21 ./configure &&
22 make && make -j1 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/usr/lib/mdp
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
31 cp -a $_pkg/usr/share/applications $fs/usr/share
32 cp -a $_pkg/usr/share/gens $fs/usr/share
33 }