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