wok-next annotate powermanga/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | 7896f0694ef6 |
children | d5aab818505e |
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@15002 | 8 LICENSE="GPL2" |
pascal@13238 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13238 | 10 WEB_SITE="http://linux.tlk.fr/games/Powermanga/" |
pascal@13238 | 11 WGET_URL="http://linux.tlk.fr/games/Powermanga/download/$TARBALL" |
pascal@13238 | 12 |
pascal@13238 | 13 DEPENDS="libsdl-mixer zlib" |
pascal@20228 | 14 BUILD_DEPENDS="libsdl-dev zlib-dev libsdl-mixer-dev xorg-libXext" |
pascal@13238 | 15 |
pascal@13238 | 16 # Packaging for SliTaz by Rene Rivero. |
pascal@13238 | 17 |
pascal@13238 | 18 # Rules to configure and make the package. |
pascal@13238 | 19 compile_rules() |
pascal@13238 | 20 { |
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 |