wok diff gens-gs/receipt @ rev 9640

Fixed last commit.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 26 19:48:46 2011 +0000 (2011-04-26)
parents
children 740935c9ec0c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gens-gs/receipt	Tue Apr 26 19:48:46 2011 +0000
     1.3 @@ -0,0 +1,35 @@
     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 libglu-mesa"
    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 +	cd $src
    1.22 +	patch -Np1 -i $stuff/gens-gtk.patch || return 1
    1.23 +	chmod +x install-sh
    1.24 +	./configure
    1.25 +	find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g' 
    1.26 +	make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share $fs/usr/lib/mdp
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib/mdp/*.so  $fs/usr/lib/mdp
    1.35 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.36 +	cp -a $_pkg/usr/share/gens $fs/usr/share
    1.37 +}
    1.38 +