wok-current annotate fceux/receipt @ rev 23389

updated perl-socket6 (0.23 -> 0.29)
author Hans-G?nter Theisgen
date Tue Mar 31 16:36:35 2020 +0100 (2020-03-31)
parents 17e313b5b9c1
children 640a2eba2511
rev   line source
slaxemulator@7174 1 # SliTaz package receipt.
slaxemulator@7174 2
slaxemulator@7174 3 PACKAGE="fceux"
Hans-G?nter@22716 4 VERSION="2.2.3"
slaxemulator@7174 5 CATEGORY="games"
Hans-G?nter@22716 6 TAGS="emulator nes"
Hans-G?nter@22716 7 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support."
slaxemulator@7174 8 MAINTAINER="slaxemulator@gmail.com"
pascal@15002 9 LICENSE="GPL2"
slaxemulator@7174 10 WEB_SITE="http://fceux.com/web/home.html"
Hans-G?nter@22716 11
Hans-G?nter@22716 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
slaxemulator@7174 13 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
slaxemulator@7174 14
Hans-G?nter@22716 15 DEPENDS="gtk+ libsdl lua"
Hans-G?nter@22716 16 BUILD_DEPENDS="elfutils-dev gtk+-dev libsdl-dev lua-dev mesa-dev scons zlib-dev"
pascal@13796 17
slaxemulator@7174 18 # Rules to configure and make the package.
slaxemulator@7174 19 compile_rules()
slaxemulator@7174 20 {
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"
Hans-G?nter@22716 23
slaxemulator@12133 24 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
Hans-G?nter@22716 25
slaxemulator@7174 26 scons
slaxemulator@7174 27
Hans-G?nter@22716 28 # sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
Hans-G?nter@22716 29 scons --prefix=$DESTDIR/usr install
slaxemulator@7174 30 }
slaxemulator@7174 31
slaxemulator@7174 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7174 33 genpkg_rules()
slaxemulator@7174 34 {
slaxemulator@7174 35 mkdir -p $fs/usr
Hans-G?nter@22716 36 cp -a $install/usr/bin $fs/usr
slaxemulator@7174 37 }