wok annotate fceux/receipt @ rev 18423

radiusclient-ng: rece condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 11:29:19 2015 +0200 (2015-09-21)
parents 7896f0694ef6
children 0e79c8136e60
rev   line source
slaxemulator@7174 1 # SliTaz package receipt.
slaxemulator@7174 2
slaxemulator@7174 3 PACKAGE="fceux"
gokhlayeh@12126 4 VERSION="2.1.5"
slaxemulator@7174 5 CATEGORY="games"
slaxemulator@7174 6 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
slaxemulator@7174 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15002 8 LICENSE="GPL2"
slaxemulator@7174 9 TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
slaxemulator@7174 10 WEB_SITE="http://fceux.com/web/home.html"
slaxemulator@7174 11 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
pascal@13041 12 TAGS="emulator nes"
slaxemulator@7174 13
pascal@13796 14 DEPENDS="libsdl lua gtk+"
pascal@13796 15 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
pascal@13796 16
slaxemulator@7174 17 # Rules to configure and make the package.
slaxemulator@7174 18 compile_rules()
slaxemulator@7174 19 {
slaxemulator@7174 20 cd $src
pascal@12758 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
slaxemulator@12133 23 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
slaxemulator@7174 24 scons
slaxemulator@7174 25
gokhlayeh@12126 26 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
slaxemulator@7174 27 scons install
slaxemulator@7174 28 }
slaxemulator@7174 29
slaxemulator@7174 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7174 31 genpkg_rules()
slaxemulator@7174 32 {
slaxemulator@7174 33 mkdir -p $fs/usr
pascal@13796 34 cp -a $install/usr/bin $fs/usr
slaxemulator@7174 35 }
slaxemulator@7174 36