wok-next annotate fceux/receipt @ rev 12219
Up: cookutils (1.8) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 05 13:42:18 2012 +0200 (2012-04-05) |
parents | c66f76c2afc9 |
children | f3291115c86b |
rev | line source |
---|---|
slaxemulator@7174 | 1 # SliTaz package receipt. |
slaxemulator@7174 | 2 |
slaxemulator@7174 | 3 PACKAGE="fceux" |
gokhlayeh@12126 | 4 VERSION="2.1.5" |
slaxemulator@7174 | 5 CATEGORY="games" |
slaxemulator@7174 | 6 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support" |
slaxemulator@7174 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7174 | 8 DEPENDS="libsdl lua gtk+" |
slaxemulator@7174 | 9 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev" |
slaxemulator@7174 | 10 TARBALL="$PACKAGE-$VERSION.src.tar.bz2" |
slaxemulator@7174 | 11 WEB_SITE="http://fceux.com/web/home.html" |
slaxemulator@7174 | 12 WGET_URL="$SF_MIRROR/fceultra/$TARBALL" |
slaxemulator@7174 | 13 |
slaxemulator@7174 | 14 # Rules to configure and make the package. |
slaxemulator@7174 | 15 compile_rules() |
slaxemulator@7174 | 16 { |
slaxemulator@7174 | 17 cd $src |
slaxemulator@12133 | 18 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp |
slaxemulator@7174 | 19 scons |
slaxemulator@7174 | 20 |
gokhlayeh@12126 | 21 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct |
slaxemulator@7174 | 22 scons install |
slaxemulator@7174 | 23 } |
slaxemulator@7174 | 24 |
slaxemulator@7174 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7174 | 26 genpkg_rules() |
slaxemulator@7174 | 27 { |
slaxemulator@7174 | 28 mkdir -p $fs/usr |
slaxemulator@7174 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7174 | 30 } |
slaxemulator@7174 | 31 |