wok view puzzles/receipt @ rev 20869

syslinux/iso2exe: add cdrom icon
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 23 13:25:31 2019 +0100 (2019-02-23)
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 }