wok-current annotate gens-gs/receipt @ rev 12861
Up: sqlite to 3.7.12.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 24 20:50:37 2012 +0000 (2012-05-24) |
parents | a2ceb81a791d |
children | a0250385f2a5 |
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" |
slaxemulator@9595 | 12 |
slaxemulator@10334 | 13 DEPENDS="gtk+ libsdl libglu-mesa" |
slaxemulator@10334 | 14 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake" |
slaxemulator@10334 | 15 |
slaxemulator@9595 | 16 # Rules to configure and make the package. |
slaxemulator@9595 | 17 compile_rules() |
slaxemulator@9595 | 18 { |
slaxemulator@9595 | 19 cd $src |
slaxemulator@9595 | 20 patch -Np1 -i $stuff/gens-gtk.patch || return 1 |
slaxemulator@9595 | 21 chmod +x install-sh |
slaxemulator@10334 | 22 ./configure $CONFIGURE_ARGS |
slaxemulator@9595 | 23 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g' |
slaxemulator@9595 | 24 make -j1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@9595 | 25 } |
slaxemulator@9595 | 26 |
slaxemulator@9595 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9595 | 28 genpkg_rules() |
slaxemulator@9595 | 29 { |
slaxemulator@9595 | 30 mkdir -p $fs/usr/share $fs/usr/lib/mdp |
slaxemulator@9595 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9595 | 32 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp |
slaxemulator@9595 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@9595 | 34 cp -a $_pkg/usr/share/gens $fs/usr/share |
slaxemulator@9595 | 35 } |
slaxemulator@9595 | 36 |