wok-next view powermanga/receipt @ rev 21077
rgb: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 21 04:44:58 2018 +0200 (2018-12-21) |
parents | 145bc1c732ca |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="powermanga"
4 VERSION="0.80"
5 CATEGORY="games"
6 SHORT_DESC="Space War"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev xorg-libXext"
16 # Packaging for SliTaz by Rene Rivero.
18 compile_rules() {
19 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
20 sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
22 ./configure &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 mkdir -p $fs/usr/share/applications
29 cp -a $install/var $fs
30 cp -a $install/usr/games $fs/usr
31 cp -a $install/usr/share/games $fs/usr/share
32 cp -a $src/texts $fs/usr/share/games/powermanga
33 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
34 cp $stuff/powermanga.desktop $fs/usr/share/applications
35 chown -R root.root $fs
36 DEPENDS="libsdl-mixer zlib"
37 }