wok-current view puzzles/receipt @ rev 21731
updated puzzles ( -> 20190415)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 13:09:35 2019 +0100 (2019-06-13) |
parents | a78610b2eb47 |
children | 443413958528 |
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="20190419"
5 CATEGORY="games"
6 SHORT_DESC="Misc puzzles games."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 TARBALL="$PACKAGE-$VERSION.e2135d5.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="cairo gtk+ libxcb xorg-libXrandr"
15 BUILD_DEPENDS="file gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/* $fs/
36 for img in $(ls $src/icons/*16d24*)
37 do
38 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
39 done
41 cp -a $stuff/*.desktop $fs/usr/share/applications
42 }