wok view gens-gs/receipt @ rev 12258
Up: slitaz-configs (1.9.2) Fix web homepage
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 19:34:28 2012 +0200 (2012-04-10) |
parents | a2ceb81a791d |
children | a0250385f2a5 |
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 }