wok-4.x view gens-gs/receipt @ rev 12347
gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 22 01:17:33 2012 +0000 (2012-10-22) |
parents | a2ceb81a791d |
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 _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"
13 DEPENDS="gtk+ libsdl libglu-mesa"
14 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/gens-gtk.patch || return 1
21 chmod +x install-sh
22 ./configure $CONFIGURE_ARGS
23 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
24 make -j1 && make -j1 DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/usr/lib/mdp
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/gens $fs/usr/share
35 }