wok-current annotate fceux/receipt @ rev 14733
Up firmware (20130610)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jun 13 17:09:29 2013 +0000 (2013-06-13) |
parents | a0250385f2a5 |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-$VERSION.src.tar.bz2" |
slaxemulator@7174 | 9 WEB_SITE="http://fceux.com/web/home.html" |
slaxemulator@7174 | 10 WGET_URL="$SF_MIRROR/fceultra/$TARBALL" |
pascal@13041 | 11 TAGS="emulator nes" |
slaxemulator@7174 | 12 |
pascal@13796 | 13 DEPENDS="libsdl lua gtk+" |
pascal@13796 | 14 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev" |
pascal@13796 | 15 |
slaxemulator@7174 | 16 # Rules to configure and make the package. |
slaxemulator@7174 | 17 compile_rules() |
slaxemulator@7174 | 18 { |
slaxemulator@7174 | 19 cd $src |
pascal@12758 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12758 | 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@12133 | 22 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp |
slaxemulator@7174 | 23 scons |
slaxemulator@7174 | 24 |
gokhlayeh@12126 | 25 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct |
slaxemulator@7174 | 26 scons install |
slaxemulator@7174 | 27 } |
slaxemulator@7174 | 28 |
slaxemulator@7174 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7174 | 30 genpkg_rules() |
slaxemulator@7174 | 31 { |
slaxemulator@7174 | 32 mkdir -p $fs/usr |
pascal@13796 | 33 cp -a $install/usr/bin $fs/usr |
slaxemulator@7174 | 34 } |
slaxemulator@7174 | 35 |