wok-6.x view puzzles/receipt @ rev 21166

connman: dbus must be running or connmand start fails
author Richard Dunbar <mojo@slitaz.org>
date Sun Mar 31 15:36:17 2019 -0400 (2019-03-31)
parents ae335becd41b
children dfd3edf778f9
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="https://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 }