wok-current view fceux/receipt @ rev 13190

Up gsmartcontrol (0.8.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 04 14:45:59 2012 +0200 (2012-08-04)
parents f3291115c86b
children 6b09507225ec
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 DEPENDS="libsdl lua gtk+"
9 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
11 WEB_SITE="http://fceux.com/web/home.html"
12 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
13 TAGS="emulator nes"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
21 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
22 scons
24 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
25 scons install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }