wok-next view powermanga/receipt @ rev 21212
updated barnyard2 (1.9 -> 2.1.13)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 17:16:10 2019 +0100 (2019-12-02) |
parents | 5669e8b3be70 |
children | e2f2d041cad1 |
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="sdl-dev zlib-dev sdl-mixer-dev 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="sdl-mixer zlib"
37 }