wok-next view powermanga/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 7896f0694ef6 |
children | d5aab818505e |
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 xorg-libXext"
16 # Packaging for SliTaz by Rene Rivero.
18 # Rules to configure and make the package.
19 compile_rules()
20 {
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 }