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