wok-current diff 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
line diff
     1.1 --- a/fceux/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/fceux/receipt	Tue Mar 31 16:36:35 2020 +0100
     1.3 @@ -1,36 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fceux"
     1.7 -VERSION="2.1.5"
     1.8 +VERSION="2.2.3"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
    1.11 +TAGS="emulator nes"
    1.12 +SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support."
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
    1.16  WEB_SITE="http://fceux.com/web/home.html"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.19  WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
    1.20 -TAGS="emulator nes"
    1.21  
    1.22 -DEPENDS="libsdl lua gtk+"
    1.23 -BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
    1.24 +DEPENDS="gtk+ libsdl lua"
    1.25 +BUILD_DEPENDS="elfutils-dev gtk+-dev libsdl-dev lua-dev mesa-dev scons zlib-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.32  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    1.33 +
    1.34  	sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
    1.35 +
    1.36  	scons
    1.37  
    1.38 -	sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
    1.39 -	scons install
    1.40 +#	sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
    1.41 +	scons --prefix=$DESTDIR/usr install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47  	mkdir -p $fs/usr
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 +	cp -a $install/usr/bin	$fs/usr
    1.50  }
    1.51 -