wok view fceux/receipt @ rev 13000

wxpython: typo (thanks pipein)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 06 14:55:24 2012 +0200 (2012-06-06)
parents 1d634d45f8a0
children a0250385f2a5
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
20 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
21 scons
23 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
24 scons install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }