wok-6.x view fceux/receipt @ rev 19372
linux: enable CONFIG_FB_EFI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 09 14:31:24 2016 +0200 (2016-08-09) |
parents | 7896f0694ef6 |
children | 0e79c8136e60 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
10 WEB_SITE="http://fceux.com/web/home.html"
11 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
12 TAGS="emulator nes"
14 DEPENDS="libsdl lua gtk+"
15 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
23 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
24 scons
26 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
27 scons install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }