wok-next annotate pingus/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents 5669e8b3be70
children 12227c6f198a
rev   line source
al@20476 1 # SliTaz package receipt v2.
pascal@1136 2
pascal@1136 3 # FIXME : Check if the tarball comes with a .desktop and a pixmap files
pascal@1136 4 # Then remove the section in genpkg_rules() that creates them
pascal@1136 5
pascal@1136 6 PACKAGE="pingus"
slaxemulator@7515 7 VERSION="0.7.3"
pascal@1136 8 CATEGORY="games"
al@21020 9 SHORT_DESC="Free Lemmings-like game"
al@21020 10 MAINTAINER="devel@slitaz.org"
pascal@15000 11 LICENSE="GPL2"
al@20906 12 WEB_SITE="https://pingus.seul.org/"
pascal@1136 13
pascal@1136 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1136 15 WGET_URL="http://pingus.seul.org/files/$TARBALL"
pascal@1136 16
al@21087 17 BUILD_DEPENDS="scons2 sdl-dev sdl-image-dev sdl-mixer-dev boost-dev \
al@21078 18 boost-signals libpng-dev"
pascal@1136 19
al@20476 20 compile_rules() {
pascal@20258 21 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/screenshot.cpp
al@20476 22 scons || return 1
pascal@1136 23
al@21020 24 install -Dm755 pingus $install/usr/bin/pingus
al@21020 25 mkdir -p $install/usr/share/pingus/
al@21020 26 cp -r data/ $install/usr/share/pingus/
pascal@1136 27
pascal@1136 28 # the tarball doesn't contain any .desktop file, nor a pixmap
pascal@1136 29 # let's create them
al@21020 30 install -Dm644 $src/data/images/core/editor/actions.png \
al@20476 31 $install/usr/share/pixmaps/pingus.png
al@21020 32 install -Dm644 $stuff/pingus.desktop \
al@21020 33 $install/usr/share/applications/pingus.desktop
pascal@1136 34 }
al@20476 35
al@20476 36 genpkg_rules() {
al@20476 37 copy @std
al@21087 38 DEPENDS="sdl sdl-image sdl-mixer boost-signals gcc-lib-base"
al@20476 39 }