wok-current view pingus/receipt @ rev 13820
thunderbird: limit long (was create > 100G !)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 21:18:32 2013 +0100 (2013-01-06) |
parents | d1768332cee0 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
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="Pingus is a free Lemmings-like game."
10 MAINTAINER="chadi.elahmad@gmail.com"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://pingus.seul.org/"
14 WGET_URL="http://pingus.seul.org/files/$TARBALL"
16 DEPENDS="libsdl libsdl-image libsdl-mixer
17 libboost-signals gcc-lib-base"
19 BUILD_DEPENDS="scons
20 libsdl-dev libsdl-image-dev libsdl-mixer-dev
21 libboost-dev libboost-signals-dev "
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 scons
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share/pingus
34 cp -a $src/pingus $fs/usr/bin
35 cp -a $src/data $fs/usr/share/pingus
37 # the tarball doesn't contain any .desktop file, nor a pixmap
38 # let's create them
39 mkdir -p $fs/usr/share/pixmaps
40 mkdir -p $fs/usr/share/applications
41 cp -a $src/data/images/core/editor/actions.png \
42 $fs/usr/share/pixmaps/pingus.png
43 cat > $fs/usr/share/applications/pingus.desktop <<EOF
44 [Desktop Entry]
45 Name=Pingus
46 Exec=pingus -w
47 Type=Application
48 Categories=Application;Game;
49 Icon=pingus
50 EOF
51 }