wok-next view fceux/receipt @ rev 20017
Add speexdsp, up speex, pulseaudio & pavucontrol.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 03:28:23 2017 +0300 (2017-10-22) |
parents | 7896f0694ef6 |
children | b360be0d4e48 |
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 }