wok-6.x view powermanga/receipt @ rev 13979
Add alarm-clock-applet
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 07 01:18:17 2013 +0000 (2013-02-07) |
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 }