wok view powermanga/receipt @ rev 15909
Up: lxpanel (0.6.1) and remove dep on libwnck --> lxpanel-extra (save space on core ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:07:07 2014 +0100 (2014-02-15) |
parents | 65bb24bf604e |
children | 125ba2464bdc |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
11 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
13 DEPENDS="libsdl-mixer zlib"
14 BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev"
16 # Packaging for SliTaz by Rene Rivero.
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
23 sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
24 ./configure && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/applications
31 cp -a $install/var $fs
32 cp -a $install/usr/games $fs/usr
33 cp -a $install/usr/share/games $fs/usr/share
34 cp -a $src/texts $fs/usr/share/games/powermanga
35 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
36 cp $stuff/powermanga.desktop $fs/usr/share/applications
37 chown -R root.root $fs
38 }