wok view puzzles/receipt @ rev 6398

Added build_depends needed for xorg-libXss to build in clean chroot. Fixed xorg-libXss-dev to have the files need to build gnome-mplayer.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 24 18:38:31 2010 +0000 (2010-09-24)
parents
children dc0644f601c0
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-$VERSION.tar.gz"
9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 DEPENDS="gtk+ cairo-xcb xorg-libXrandr"
12 BUILD_DEPENDS="gtk+-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p _pkg/usr/local/games 2> /dev/null
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps \
27 $fs/usr/share/applications
29 cp -a $_pkg/usr/local/games $fs/usr
31 for img in $(ls $src/icons/*16d24*)
32 do
33 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
34 done
36 cp -a stuff/*.desktop $fs/usr/share/applications
37 }