wok annotate gens-gs/receipt @ rev 13900
Add libjreen (1.1.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Jan 19 15:31:49 2013 +0000 (2013-01-19) |
parents | 740935c9ec0c |
children | 7bb096863642 |
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 _VERSION=gs-r7 |
slaxemulator@9595 | 9 TARBALL="Gens-${_VERSION}.tar.gz" |
slaxemulator@9595 | 10 WEB_SITE="http://info.sonicretro.org/Gens/GS" |
slaxemulator@9595 | 11 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL" |
pascal@13041 | 12 TAGS="emulator sega" |
slaxemulator@9595 | 13 |
slaxemulator@10334 | 14 DEPENDS="gtk+ libsdl libglu-mesa" |
slaxemulator@10334 | 15 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake" |
slaxemulator@10334 | 16 |
slaxemulator@9595 | 17 # Rules to configure and make the package. |
slaxemulator@9595 | 18 compile_rules() |
slaxemulator@9595 | 19 { |
slaxemulator@9595 | 20 cd $src |
slaxemulator@9595 | 21 patch -Np1 -i $stuff/gens-gtk.patch || return 1 |
slaxemulator@9595 | 22 chmod +x install-sh |
slaxemulator@10334 | 23 ./configure $CONFIGURE_ARGS |
slaxemulator@9595 | 24 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g' |
slaxemulator@9595 | 25 make -j1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@9595 | 26 } |
slaxemulator@9595 | 27 |
slaxemulator@9595 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9595 | 29 genpkg_rules() |
slaxemulator@9595 | 30 { |
slaxemulator@9595 | 31 mkdir -p $fs/usr/share $fs/usr/lib/mdp |
slaxemulator@9595 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9595 | 33 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp |
slaxemulator@9595 | 34 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@9595 | 35 cp -a $_pkg/usr/share/gens $fs/usr/share |
slaxemulator@9595 | 36 } |
slaxemulator@9595 | 37 |