wok diff powermanga/receipt @ rev 14764
Add sshguard
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 21 10:15:23 2013 +0200 (2013-06-21) |
parents | |
children | 7896f0694ef6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/powermanga/receipt Fri Jun 21 10:15:23 2013 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="powermanga" 1.7 +VERSION="0.80" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Space War" 1.10 +MAINTAINER="arca2@hotmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tgz" 1.12 +WEB_SITE="http://linux.tlk.fr/games/Powermanga/" 1.13 +WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL" 1.14 + 1.15 +DEPENDS="libsdl-mixer zlib" 1.16 +BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev" 1.17 + 1.18 +# Packaging for SliTaz by Rene Rivero. 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp 1.25 + sed -i '239,243 s|^|// |' src/sdl_mixer.cpp 1.26 + ./configure && make && make install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/applications 1.33 + cp -a $install/var $fs 1.34 + cp -a $install/usr/games $fs/usr 1.35 + cp -a $install/usr/share/games $fs/usr/share 1.36 + cp -a $src/texts $fs/usr/share/games/powermanga 1.37 + cp $stuff/power-manga.png $fs/usr/share/games/powermanga 1.38 + cp $stuff/powermanga.desktop $fs/usr/share/applications 1.39 + chown -R root.root $fs 1.40 +} 1.41 +