wok-next view powermanga/receipt @ rev 14627
Add xorg-libXxf86dga xorg-libXres xorg-libFS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 01 18:55:13 2013 +0200 (2013-06-01) |
parents | |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="powermanga"
4 VERSION="0.80"
5 CATEGORY="games"
6 SHORT_DESC="Space War"
7 MAINTAINER="arca2@hotmail.com"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
10 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
12 DEPENDS="libsdl-mixer zlib"
13 BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev"
15 # Packaging for SliTaz by Rene Rivero.
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
22 sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
23 ./configure && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications
30 cp -a $install/var $fs
31 cp -a $install/usr/games $fs/usr
32 cp -a $install/usr/share/games $fs/usr/share
33 cp -a $src/texts $fs/usr/share/games/powermanga
34 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
35 cp $stuff/powermanga.desktop $fs/usr/share/applications
36 chown -R root.root $fs
37 }