wok annotate fceux/receipt @ rev 13732
Add firmware-rtlwifi
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Dec 23 17:59:51 2012 +0000 (2012-12-23) |
parents | f3291115c86b |
children | 6b09507225ec |
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" |
pascal@13041 | 13 TAGS="emulator nes" |
slaxemulator@7174 | 14 |
slaxemulator@7174 | 15 # Rules to configure and make the package. |
slaxemulator@7174 | 16 compile_rules() |
slaxemulator@7174 | 17 { |
slaxemulator@7174 | 18 cd $src |
pascal@12758 | 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12758 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@12133 | 21 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp |
slaxemulator@7174 | 22 scons |
slaxemulator@7174 | 23 |
gokhlayeh@12126 | 24 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct |
slaxemulator@7174 | 25 scons install |
slaxemulator@7174 | 26 } |
slaxemulator@7174 | 27 |
slaxemulator@7174 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7174 | 29 genpkg_rules() |
slaxemulator@7174 | 30 { |
slaxemulator@7174 | 31 mkdir -p $fs/usr |
slaxemulator@7174 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7174 | 33 } |
slaxemulator@7174 | 34 |