wok-next view pingus/receipt @ rev 21605
dropbear: add ed25519 key
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 25 08:01:52 2020 +0000 (2020-06-25) |
parents | 0f2575775b2d |
children |
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.6"
8 CATEGORY="games"
9 SHORT_DESC="Free Lemmings-like game"
10 MAINTAINER="maintainer@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="boost-dev boost-signals libpng-dev scons2 sdl-dev
18 sdl-image-dev sdl-mixer-dev"
20 compile_rules()
21 {
22 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \
23 src/screenshot.cpp
24 scons || return 1
26 install -Dm755 pingus $install/usr/bin/pingus
28 mkdir -p $install/usr/share/pingus
29 cp -r data $install/usr/share/pingus
31 # the tarball doesn't contain any .desktop file, nor a pixmap
32 # let's create them
33 install -Dm644 $src/data/images/core/editor/actions.png \
34 $install/usr/share/pixmaps/pingus.png
35 install -Dm644 $stuff/pingus.desktop \
36 $install/usr/share/applications/pingus.desktop
37 }
39 genpkg_rules()
40 {
41 copy @std
43 DEPENDS="boost-signals gcc-lib-base sdl sdl-image sdl-mixer"
44 }