wok-undigest rev 808

Move to wok: powermanga
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:40:27 2012 +0200 (2012-08-14)
parents 5a7b7acf85a5
children fbe57f9d9236
files powermanga/receipt powermanga/stuff/power-manga.png powermanga/stuff/powermanga.desktop
line diff
     1.1 --- a/powermanga/receipt	Tue Aug 14 13:40:26 2012 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="powermanga"
     1.7 -VERSION="0.80"
     1.8 -CATEGORY="games"
     1.9 -SHORT_DESC="Space War"
    1.10 -MAINTAINER="arca2@hotmail.com"
    1.11 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.12 -WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
    1.13 -WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
    1.14 -
    1.15 -DEPENDS="libsdl-mixer zlib"
    1.16 -BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev"
    1.17 -
    1.18 -# Packaging for SliTaz by Rene Rivero.
    1.19 -
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 -	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
    1.25 -	sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
    1.26 -	./configure && make && make install
    1.27 -}
    1.28 -
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 -	mkdir -p $fs/usr/share/applications
    1.33 -	cp -a $install/var $fs
    1.34 -	cp -a $install/usr/games $fs/usr
    1.35 -	cp -a $install/usr/share/games $fs/usr/share
    1.36 -	cp -a $src/texts $fs/usr/share/games/powermanga
    1.37 -	cp $stuff/power-manga.png $fs/usr/share/games/powermanga
    1.38 -	cp $stuff/powermanga.desktop $fs/usr/share/applications
    1.39 -	chown -R root.root $fs
    1.40 -}
    1.41 -
     2.1 Binary file powermanga/stuff/power-manga.png has changed
     3.1 --- a/powermanga/stuff/powermanga.desktop	Tue Aug 14 13:40:26 2012 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,8 +0,0 @@
     3.4 -[Desktop Entry]
     3.5 -Encoding=UTF-8
     3.6 -Name=PowerManga
     3.7 -Comment=Space War
     3.8 -Exec=/usr/games/powermanga
     3.9 -Icon=/usr/share/games/powermanga/power-manga.png
    3.10 -Type=Application
    3.11 -Categories=Application;Game;
    3.12 \ No newline at end of file