wok rev 21700

updated powermanga (0.80 -> 0.93.1)
author Hans-G?nter Theisgen
date Thu Jun 06 15:09:01 2019 +0100 (2019-06-06)
parents 48fa0606b323
children a26adfb74f3f
files powermanga/receipt
line diff
     1.1 --- a/powermanga/receipt	Wed Jun 05 17:53:51 2019 +0100
     1.2 +++ b/powermanga/receipt	Thu Jun 06 15:09:01 2019 +0100
     1.3 @@ -1,39 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="powermanga"
     1.7 -VERSION="0.80"
     1.8 +VERSION="0.93.1"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Space War"
    1.11 +SHORT_DESC="Space War."
    1.12  MAINTAINER="arca2@hotmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 -WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
    1.18 -WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.20  
    1.21  DEPENDS="libsdl-mixer zlib"
    1.22 -BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev"
    1.23 +BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev"
    1.24  
    1.25  # Packaging for SliTaz by Rene Rivero.
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
    1.32 -	sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
    1.33 -	./configure && make && make install
    1.34 +	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.c
    1.35 +#	sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
    1.36 +
    1.37 +	./bootstrap &&
    1.38 +	./configure &&
    1.39 +	make &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/share/applications
    1.47 -	cp -a $install/var $fs
    1.48 -	cp -a $install/usr/games $fs/usr
    1.49 -	cp -a $install/usr/share/games $fs/usr/share
    1.50 -	cp -a $src/texts $fs/usr/share/games/powermanga
    1.51 -	cp $stuff/power-manga.png $fs/usr/share/games/powermanga
    1.52 -	cp $stuff/powermanga.desktop $fs/usr/share/applications
    1.53 +
    1.54 +	cp -a $install/var		$fs
    1.55 +	cp -a $install/usr/games	$fs/usr
    1.56 +	cp -a $install/usr/share/games	$fs/usr/share
    1.57 +	cp -a $src/texts		$fs/usr/share/games/powermanga
    1.58 +	cp $stuff/power-manga.png	$fs/usr/share/games/powermanga
    1.59 +	cp $stuff/powermanga.desktop	$fs/usr/share/applications
    1.60 +
    1.61  	chown -R root.root $fs
    1.62  }
    1.63 -