wok view puzzles/receipt @ rev 14774

Up xorg-libXi (1.7.1.901), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 10:36:53 2013 +0200 (2013-06-30)
parents c27cb9190c28
children 38bfb19944b1
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="r8972"
5 CATEGORY="games"
6 SHORT_DESC="Misc puzzles games."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.tar.gz"
9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
12 BUILD_DEPENDS="gtk+-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/-pedantic//' Makefile mkfiles.pl
19 mkdir -p _pkg/usr/local/games 2> /dev/null
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps \
28 $fs/usr/share/applications
30 cp -a $_pkg/usr/local/games $fs/usr
32 for img in $(ls $src/icons/*16d24*)
33 do
34 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
35 done
37 cp -a stuff/*.desktop $fs/usr/share/applications
38 }