wok view fceux/receipt @ rev 15370
Up ipxe-pxe (1.0.0-20130925)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 15:05:05 2013 +0000 (2013-10-14) |
parents | 6b09507225ec |
children | 17e313b5b9c1 |
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="-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 }