wok view powermanga/receipt @ rev 22767

updated foomatic-filters (4.0.5 -> 4.0.17)
author Hans-G?nter Theisgen
date Sat Jan 25 14:46:57 2020 +0100 (2020-01-25)
parents 125ba2464bdc
children 7c0170dd3ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="powermanga"
4 VERSION="0.93.1"
5 CATEGORY="games"
6 SHORT_DESC="Space War."
7 MAINTAINER="arca1085@gmail.com <Rene Rivero>"
8 LICENSE="GPL2"
9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="libsdl-mixer zlib libogg"
15 BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev libogg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.c
22 ./bootstrap &&
23 ./configure &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/applications
33 rm $install/usr/share/games/powermanga/sounds/*.zik
34 cp -a $install/usr/share/games/powermanga/sound/handheld_console/*.ogg $install/usr/share/games/powermanga/sounds/
35 mv $install/usr/share/games/powermanga/sounds/music_congratulations.ogg $install/usr/share/games/powermanga/sounds/music_congratulations.zik
36 mv $install/usr/share/games/powermanga/sounds/music_game.ogg $install/usr/share/games/powermanga/sounds/music_game.zik
37 mv $install/usr/share/games/powermanga/sounds/music_menu.ogg $install/usr/share/games/powermanga/sounds/music_menu.zik
38 cp -a $install/var $fs
39 cp -a $install/usr/games $fs/usr
40 cp -a $install/usr/share/games $fs/usr/share
41 cp -a $src/texts $fs/usr/share/games/powermanga
42 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
43 cp $stuff/powermanga.desktop $fs/usr/share/applications
44 mkdir -p $fs/var/games/powermanga
45 chmod -R 777 $fs/var/games/powermanga
47 chown -R root.root $fs
48 }