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