wok view powermanga/receipt @ rev 21716
updated proxychains-ng (4.8.1 -> 4.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 12 13:34:23 2019 +0100 (2019-06-12) |
parents | 7896f0694ef6 |
children | 68f9518c4cb0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="powermanga"
4 VERSION="0.93.1"
5 CATEGORY="games"
6 SHORT_DESC="Space War."
7 MAINTAINER="arca2@hotmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="libsdl-mixer zlib"
15 BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev"
17 # Packaging for SliTaz by Rene Rivero.
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.c
23 # sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
25 ./bootstrap &&
26 ./configure &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
36 cp -a $install/var $fs
37 cp -a $install/usr/games $fs/usr
38 cp -a $install/usr/share/games $fs/usr/share
39 cp -a $src/texts $fs/usr/share/games/powermanga
40 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
41 cp $stuff/powermanga.desktop $fs/usr/share/applications
43 chown -R root.root $fs
44 }