wok-6.x view puzzles/receipt @ rev 20694
get-palemoon: update wget_url
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Feb 04 01:44:39 2019 -0500 (2019-02-04) |
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 }