wok-next annotate powermanga/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 0f2575775b2d
children
rev   line source
pascal@13238 1 # SliTaz package receipt.
pascal@13238 2
pascal@13238 3 PACKAGE="powermanga"
Hans-G?nter@21414 4 VERSION="0.93.1"
pascal@13238 5 CATEGORY="games"
pascal@13238 6 SHORT_DESC="Space War"
Hans-G?nter@21414 7 MAINTAINER="maintainer@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
al@21020 10
pascal@13238 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@13238 12 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL"
pascal@13238 13
al@21087 14 BUILD_DEPENDS="sdl-dev zlib-dev sdl-mixer-dev libxext"
pascal@13238 15
pascal@13238 16 # Packaging for SliTaz by Rene Rivero.
pascal@13238 17
Hans-G?nter@21414 18 compile_rules()
Hans-G?nter@21414 19 {
Hans-G?nter@21414 20 sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' \
Hans-G?nter@21414 21 src/sdl_mixer.cpp
Hans-G?nter@21414 22 sed -i '239,243 s|^|// |' \
Hans-G?nter@21414 23 src/sdl_mixer.cpp
al@21020 24
al@21020 25 ./configure &&
al@21020 26 make &&
al@21020 27 make install
pascal@13238 28 }
pascal@13238 29
Hans-G?nter@21414 30 genpkg_rules()
Hans-G?nter@21414 31 {
pascal@13238 32 mkdir -p $fs/usr/share/applications
Hans-G?nter@21414 33
Hans-G?nter@21414 34 cp -a $install/var $fs
Hans-G?nter@21414 35 cp -a $install/usr/games $fs/usr
Hans-G?nter@21414 36 cp -a $install/usr/share/games $fs/usr/share
Hans-G?nter@21414 37 cp -a $src/texts $fs/usr/share/games/powermanga
Hans-G?nter@21414 38 cp $stuff/power-manga.png $fs/usr/share/games/powermanga
Hans-G?nter@21414 39 cp $stuff/powermanga.desktop $fs/usr/share/applications
Hans-G?nter@21414 40 chown -R root.root $fs
Hans-G?nter@21414 41
al@21087 42 DEPENDS="sdl-mixer zlib"
pascal@13238 43 }