wok view fceux/receipt @ rev 24608
updated gmp and gmp-dev (6.2.0 -> 6.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 07:03:01 2022 +0100 (2022-03-04) |
parents | 0e79c8136e60 |
children | cb67b4f8be05 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/fceultra/files/Source%20Code/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*fceux-||;s|.tar.*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
32 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
34 scons
36 # sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
37 scons --prefix=$DESTDIR/usr install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }