wok-6.x rev 6512

Added gens-gs. An emulator for Sega Genesis, Sega CD and 32x.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 02:08:52 2010 +0000 (2010-10-02)
parents 6c8a8acc0818
children 0fd4f468081a
files gens-gs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gens-gs/receipt	Sat Oct 02 02:08:52 2010 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gens-gs"
     1.7 +VERSION="2.15.5_gs_r7"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="gtk+ libsdl"
    1.12 +BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
    1.13 +_VERSION=gs-r7
    1.14 +TARBALL="Gens-${_VERSION}.tar.gz"
    1.15 +WEB_SITE="http://info.sonicretro.org/Gens/GS"
    1.16 +WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	ln -s $WOK/$PACKAGE/gens-${_VERSION} $WOK/$PACKAGE/$PACKAGE-$VERSION
    1.22 +	cd $src
    1.23 +	chmod +x install-sh
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/share $fs/usr/lib/mdp
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	cp -a $_pkg/usr/lib/mdp/*.so  $fs/usr/lib/mdp
    1.38 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.39 +	cp -a $_pkg/usr/share/gens $fs/usr/share
    1.40 +}
    1.41 +