wok-current view fceux/receipt @ rev 22855

updated glpi (9.4.0 -> 9.4.5)
author Hans-G?nter Theisgen
date Thu Feb 20 13:48:36 2020 +0100 (2020-02-20)
parents 17e313b5b9c1
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="fceux"
4 VERSION="2.2.3"
5 CATEGORY="games"
6 TAGS="emulator nes"
7 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support."
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://fceux.com/web/home.html"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
15 DEPENDS="gtk+ libsdl lua"
16 BUILD_DEPENDS="elfutils-dev gtk+-dev libsdl-dev lua-dev mesa-dev scons zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
24 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
26 scons
28 # sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
29 scons --prefix=$DESTDIR/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }