wok-next rev 21268

updated frogatto (1.3.1 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Dec 06 17:30:20 2019 +0100 (2019-12-06)
parents f4a9fd8c73d4
children 591866d4e88a
files frogatto/receipt
line diff
     1.1 --- a/frogatto/receipt	Fri Dec 06 17:16:20 2019 +0100
     1.2 +++ b/frogatto/receipt	Fri Dec 06 17:30:20 2019 +0100
     1.3 @@ -1,25 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="frogatto"
     1.7 -VERSION="1.3.1"
     1.8 +VERSION="1.3.3"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Action-adventure game, starring a certain quixotic frog"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="CC-BY-3 custom"
    1.14  WEB_SITE="https://frogatto.com/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/frogatto/frogatto/archive/$VERSION.tar.gz"
    1.18  
    1.19 -BUILD_DEPENDS="libx11-dev sdl-dev mesa-dev glu-dev glew-dev \
    1.20 -sdl-image-dev libpng-dev zlib-dev boost-dev sdl-ttf-dev \
    1.21 -sdl-mixer-dev coreutils-file-format ccache"
    1.22 +BUILD_DEPENDS="boost-dev ccache coreutils-file-format glew-dev glu-dev 
    1.23 +	libpng-dev libx11-dev mesa-dev sdl-dev sdl-image-dev 
    1.24 +	sdl-mixer-dev sdl-ttf-dev zlib-dev"
    1.25  SPLIT="$PACKAGE-data"
    1.26  
    1.27 -compile_rules() {
    1.28 +compile_rules()
    1.29 +{
    1.30  	CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1
    1.31  
    1.32  	mkdir -p $install/opt/frogatto/
    1.33 +
    1.34  	cp game server *.ttf $install/opt/frogatto/
    1.35  	cp -r data/ images/ modules/ music/ $install/opt/frogatto
    1.36  	install -Dm755 $stuff/frogatto $install/usr/bin/frogatto
    1.37 @@ -27,13 +29,14 @@
    1.38  	install -Dm644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png
    1.39  }
    1.40  
    1.41 -genpkg_rules() {
    1.42 +genpkg_rules()
    1.43 +{
    1.44  	case $PACKAGE in
    1.45  		frogatto)
    1.46  			copy game server frogatto frogatto.desktop frogatto.png
    1.47 -			DEPENDS="glew boost-iostreams boost-regex boost-system \
    1.48 -			boost-thread glu libpng sdl sdl-image \
    1.49 -			sdl-mixer sdl-ttf mesa libx11 zlib"
    1.50 +			DEPENDS="boost-iostreams boost-regex boost-system \
    1.51 +			boost-thread glew glu libpng libx11 mesa sdl sdl-image \
    1.52 +			sdl-mixer sdl-ttf zlib"
    1.53  			;;
    1.54  		frogatto-data)
    1.55  			copy data/ images/ modules/ music/ *.ttf