wok view puzzles/receipt @ rev 20615

Update varka
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 21 20:44:57 2018 +0100 (2018-12-21)
parents d37d15244372
children a78610b2eb47
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 LICENSE="MIT"
9 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
14 BUILD_DEPENDS="gtk+-dev file"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
20 ./configure --prefix=/usr
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps \
30 $fs/usr/share/applications
32 cp -a $install/usr/* $fs/
34 for img in $(ls $src/icons/*16d24*)
35 do
36 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
37 done
39 cp -a $stuff/*.desktop $fs/usr/share/applications
40 }