wok view fceux/receipt @ rev 14173
cookutils: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 09 09:24:47 2013 +0100 (2013-03-09) |
parents | a0250385f2a5 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fceux"
4 VERSION="2.1.5"
5 CATEGORY="games"
6 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
9 WEB_SITE="http://fceux.com/web/home.html"
10 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
11 TAGS="emulator nes"
13 DEPENDS="libsdl lua gtk+"
14 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
22 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
23 scons
25 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
26 scons install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }