wok-current view puzzles/receipt @ rev 10154
Up: lzo to 2.05.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 19:35:02 2011 +0000 (2011-05-20) |
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 }