wok-current annotate powermanga/receipt @ rev 14267

syslinux/iso2exe: add boot error message
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 02 08:37:23 2013 +0200 (2013-04-02)
parents
children 7896f0694ef6
rev   line source
pascal@13238 1 # SliTaz package receipt.
pascal@13238 2
pascal@13238 3 PACKAGE="powermanga"
pascal@13238 4 VERSION="0.80"
pascal@13238 5 CATEGORY="games"
pascal@13238 6 SHORT_DESC="Space War"
pascal@13238 7 MAINTAINER="arca2@hotmail.com"
pascal@13238 8 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@13238 9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
pascal@13238 10 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
pascal@13238 11
pascal@13238 12 DEPENDS="libsdl-mixer zlib"
pascal@13238 13 BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev"
pascal@13238 14
pascal@13238 15 # Packaging for SliTaz by Rene Rivero.
pascal@13238 16
pascal@13238 17 # Rules to configure and make the package.
pascal@13238 18 compile_rules()
pascal@13238 19 {
pascal@13238 20 cd $src
pascal@13238 21 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
pascal@13238 22 sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
pascal@13238 23 ./configure && make && make install
pascal@13238 24 }
pascal@13238 25
pascal@13238 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13238 27 genpkg_rules()
pascal@13238 28 {
pascal@13238 29 mkdir -p $fs/usr/share/applications
pascal@13238 30 cp -a $install/var $fs
pascal@13238 31 cp -a $install/usr/games $fs/usr
pascal@13238 32 cp -a $install/usr/share/games $fs/usr/share
pascal@13238 33 cp -a $src/texts $fs/usr/share/games/powermanga
pascal@13238 34 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
pascal@13238 35 cp $stuff/powermanga.desktop $fs/usr/share/applications
pascal@13238 36 chown -R root.root $fs
pascal@13238 37 }
pascal@13238 38