wok-stable view gens-gs/receipt @ rev 9812

Add cookutils (1.0)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 14 23:52:26 2011 +0200 (2011-05-14)
parents
children 740935c9ec0c
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 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
23 make -j1 && make -j1 DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/lib/mdp
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 cp -a $_pkg/usr/share/gens $fs/usr/share
34 }