wok-6.x view gens-gs/receipt @ rev 13901
Fix: qutim depends
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Jan 19 15:49:40 2013 +0000 (2013-01-19) |
parents | 740935c9ec0c |
children | 7bb096863642 |
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 _VERSION=gs-r7
9 TARBALL="Gens-${_VERSION}.tar.gz"
10 WEB_SITE="http://info.sonicretro.org/Gens/GS"
11 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
12 TAGS="emulator sega"
14 DEPENDS="gtk+ libsdl libglu-mesa"
15 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/gens-gtk.patch || return 1
22 chmod +x install-sh
23 ./configure $CONFIGURE_ARGS
24 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
25 make -j1 && make -j1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/usr/lib/mdp
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 cp -a $_pkg/usr/share/gens $fs/usr/share
36 }