wok-next rev 21407

updated pingus (0.7.3 -> 0.7.6)
author Hans-G?nter Theisgen
date Fri Apr 24 17:21:13 2020 +0100 (2020-04-24)
parents 33d550d8ca40
children fa404ff19ee2
files pingus/receipt
line diff
     1.1 --- a/pingus/receipt	Tue Apr 21 11:13:46 2020 +0100
     1.2 +++ b/pingus/receipt	Fri Apr 24 17:21:13 2020 +0100
     1.3 @@ -4,26 +4,29 @@
     1.4  # Then remove the section in genpkg_rules() that creates them
     1.5  
     1.6  PACKAGE="pingus"
     1.7 -VERSION="0.7.3"
     1.8 +VERSION="0.7.6"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Free Lemmings-like game"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://pingus.seul.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="http://pingus.seul.org/files/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="scons2 sdl-dev sdl-image-dev sdl-mixer-dev boost-dev \
    1.20 -boost-signals libpng-dev"
    1.21 +BUILD_DEPENDS="boost-dev boost-signals libpng-dev scons2 sdl-dev 
    1.22 +	sdl-image-dev sdl-mixer-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 -	sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/screenshot.cpp
    1.26 +compile_rules()
    1.27 +{
    1.28 +	sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \
    1.29 +		src/screenshot.cpp
    1.30  	scons || return 1
    1.31  
    1.32 -	install -Dm755 pingus $install/usr/bin/pingus
    1.33 -	mkdir -p $install/usr/share/pingus/
    1.34 -	cp -r data/ $install/usr/share/pingus/
    1.35 +	install -Dm755 pingus	$install/usr/bin/pingus
    1.36 +
    1.37 +	mkdir -p $install/usr/share/pingus
    1.38 +	cp -r data	$install/usr/share/pingus
    1.39  
    1.40  	# the tarball doesn't contain any .desktop file, nor a pixmap
    1.41  	# let's create them
    1.42 @@ -33,7 +36,9 @@
    1.43  		$install/usr/share/applications/pingus.desktop
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 +genpkg_rules()
    1.48 +{
    1.49  	copy @std
    1.50 -	DEPENDS="sdl sdl-image sdl-mixer boost-signals gcc-lib-base"
    1.51 +
    1.52 +	DEPENDS="boost-signals gcc-lib-base sdl sdl-image sdl-mixer"
    1.53  }