wok-4.x annotate gens-gs/receipt @ rev 9927

Up: tazwok to 4.2.15.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 17 17:25:10 2011 +0000 (2011-05-17)
parents
children 740935c9ec0c
rev   line source
slaxemulator@9595 1 # SliTaz package receipt.
slaxemulator@9595 2
slaxemulator@9595 3 PACKAGE="gens-gs"
slaxemulator@9595 4 VERSION="2.15.5_gs_r7"
slaxemulator@9595 5 CATEGORY="games"
slaxemulator@9595 6 SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
slaxemulator@9595 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9595 8 DEPENDS="gtk+ libsdl libglu-mesa"
slaxemulator@9595 9 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
slaxemulator@9595 10 _VERSION=gs-r7
slaxemulator@9595 11 TARBALL="Gens-${_VERSION}.tar.gz"
slaxemulator@9595 12 WEB_SITE="http://info.sonicretro.org/Gens/GS"
slaxemulator@9595 13 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
slaxemulator@9595 14
slaxemulator@9595 15 # Rules to configure and make the package.
slaxemulator@9595 16 compile_rules()
slaxemulator@9595 17 {
slaxemulator@9595 18 cd $src
slaxemulator@9595 19 patch -Np1 -i $stuff/gens-gtk.patch || return 1
slaxemulator@9595 20 chmod +x install-sh
slaxemulator@9595 21 ./configure
slaxemulator@9595 22 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
slaxemulator@9595 23 make -j1 && make -j1 DESTDIR=$DESTDIR install
slaxemulator@9595 24 }
slaxemulator@9595 25
slaxemulator@9595 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9595 27 genpkg_rules()
slaxemulator@9595 28 {
slaxemulator@9595 29 mkdir -p $fs/usr/share $fs/usr/lib/mdp
slaxemulator@9595 30 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@9595 31 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
slaxemulator@9595 32 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@9595 33 cp -a $_pkg/usr/share/gens $fs/usr/share
slaxemulator@9595 34 }
slaxemulator@9595 35