wok-4.x view gens-gs/receipt @ rev 6517

Up: mpfr, mpfr-dev to 3.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 14:39:44 2010 +0000 (2010-10-02)
parents
children 4f96db6c0be2
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"
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 ln -s $WOK/$PACKAGE/gens-${_VERSION} $WOK/$PACKAGE/$PACKAGE-$VERSION
19 cd $src
20 chmod +x install-sh
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib/mdp
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
35 cp -a $_pkg/usr/share/applications $fs/usr/share
36 cp -a $_pkg/usr/share/gens $fs/usr/share
37 }