wok-current rev 23670

updated stella (3.7.5 -> 6.1.1)
author Hans-G?nter Theisgen
date Sun Apr 26 07:47:01 2020 +0100 (2020-04-26)
parents 099b1ecaa963
children 2045eca96f37
files stella/receipt
line diff
     1.1 --- a/stella/receipt	Sun Apr 26 07:25:44 2020 +0100
     1.2 +++ b/stella/receipt	Sun Apr 26 07:47:01 2020 +0100
     1.3 @@ -1,33 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="stella"
     1.7 -VERSION="3.7.5"
     1.8 +VERSION="6.1.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.14 -WEB_SITE="http://stella.sourceforge.net/"
    1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +WEB_SITE="https://stella-emu.github.io/"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/stella-emu/$PACKAGE/archive/$VERSION.tar.gz"
    1.20  TAGS="emulator atari"
    1.21  
    1.22 -DEPENDS="gcc-lib-base libsdl libpng"
    1.23 -BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev"
    1.24 +DEPENDS="gcc83-lib-base libpng libsdl2"
    1.25 +BUILD_DEPENDS="gcc83 libpng-dev libsdl2-dev 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 -	./configure \
    1.32 +	./configure		\
    1.33 +		CC=gcc-83	\
    1.34 +		CXX=g++-83	\
    1.35  		--prefix=/usr &&
    1.36 -	make && make DESTDIR=$DESTDIR install
    1.37 +	make &&
    1.38 +	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
    1.47 -	sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
    1.48 +	mkdir -p $fs/usr/share/pixmaps
    1.49 +	mkdir -p $fs/usr/share/applications
    1.50 +
    1.51 +	cp -a $install/usr/bin		$fs/usr
    1.52 +	cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \
    1.53 +					$fs/usr/share/pixmaps
    1.54 +	sed -i 's|Icon=stella.png|Icon=stella|' \
    1.55 +					$install/usr/share/applications/stella.desktop
    1.56  }