wok-6.x annotate gens-gs/receipt @ rev 18329

A collection of wallpapers for SliTaz.
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed Sep 09 03:45:43 2015 -0300 (2015-09-09)
parents a0250385f2a5
children b01314c762e9
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"
pascal@15215 8 LICENSE="GPL2"
slaxemulator@9595 9 _VERSION=gs-r7
slaxemulator@9595 10 TARBALL="Gens-${_VERSION}.tar.gz"
slaxemulator@9595 11 WEB_SITE="http://info.sonicretro.org/Gens/GS"
slaxemulator@9595 12 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
pascal@13041 13 TAGS="emulator sega"
slaxemulator@9595 14
slaxemulator@10334 15 DEPENDS="gtk+ libsdl libglu-mesa"
slaxemulator@10334 16 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
slaxemulator@10334 17
slaxemulator@9595 18 # Rules to configure and make the package.
slaxemulator@9595 19 compile_rules()
slaxemulator@9595 20 {
slaxemulator@9595 21 cd $src
slaxemulator@9595 22 patch -Np1 -i $stuff/gens-gtk.patch || return 1
slaxemulator@9595 23 chmod +x install-sh
slaxemulator@10334 24 ./configure $CONFIGURE_ARGS
slaxemulator@9595 25 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
slaxemulator@9595 26 make -j1 && make -j1 DESTDIR=$DESTDIR install
slaxemulator@9595 27 }
slaxemulator@9595 28
slaxemulator@9595 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9595 30 genpkg_rules()
slaxemulator@9595 31 {
slaxemulator@9595 32 mkdir -p $fs/usr/share $fs/usr/lib/mdp
pascal@15215 33 cp -a $install/usr/bin $fs/usr
pascal@15215 34 cp -a $install/usr/lib/mdp/*.so $fs/usr/lib/mdp
pascal@15215 35 cp -a $install/usr/share/applications $fs/usr/share
pascal@15215 36 cp -a $install/usr/share/gens $fs/usr/share
slaxemulator@9595 37 }
slaxemulator@9595 38