wok-next view pingus/receipt @ rev 21382
updated nbd (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents | 5669e8b3be70 |
children | 12227c6f198a |
line source
1 # SliTaz package receipt v2.
3 # FIXME : Check if the tarball comes with a .desktop and a pixmap files
4 # Then remove the section in genpkg_rules() that creates them
6 PACKAGE="pingus"
7 VERSION="0.7.3"
8 CATEGORY="games"
9 SHORT_DESC="Free Lemmings-like game"
10 MAINTAINER="devel@slitaz.org"
11 LICENSE="GPL2"
12 WEB_SITE="https://pingus.seul.org/"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WGET_URL="http://pingus.seul.org/files/$TARBALL"
17 BUILD_DEPENDS="scons2 sdl-dev sdl-image-dev sdl-mixer-dev boost-dev \
18 boost-signals libpng-dev"
20 compile_rules() {
21 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/screenshot.cpp
22 scons || return 1
24 install -Dm755 pingus $install/usr/bin/pingus
25 mkdir -p $install/usr/share/pingus/
26 cp -r data/ $install/usr/share/pingus/
28 # the tarball doesn't contain any .desktop file, nor a pixmap
29 # let's create them
30 install -Dm644 $src/data/images/core/editor/actions.png \
31 $install/usr/share/pixmaps/pingus.png
32 install -Dm644 $stuff/pingus.desktop \
33 $install/usr/share/applications/pingus.desktop
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="sdl sdl-image sdl-mixer boost-signals gcc-lib-base"
39 }