wok view puzzles/receipt @ rev 9739
Fix: rapidsvn (issue40) and clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 01:45:43 2011 +0200 (2011-05-10) |
parents | dc0644f601c0 |
children | 25e8d0cf0cbf |
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 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 }