wok-next view pingus/receipt @ rev 21044
Change tags a bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 24 12:56:54 2018 +0200 (2018-11-24) |
parents | a244e109372e |
children | 5669e8b3be70 |
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 libsdl-dev libsdl-image-dev libsdl-mixer-dev boost-dev \
18 boost-signals libpng16-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="libsdl libsdl-image libsdl-mixer boost-signals gcc-lib-base"
39 }