wok view puzzles/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
parents 7c0170dd3ecc
children 4eb0430e6d58
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="20220128"
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.c43a34f.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="cairo gtk+ libxcb xorg-libXrandr"
15 BUILD_DEPENDS="file gtk+-dev cmake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://git.tartarus.org/?p=simon/puzzles.git' 2>/dev/null | \
21 sed '/<i>[0-9-]*<.i>/!d;s|.*<i>||;s|<.*||;s|-||g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
28 cmake --build . &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr/* $fs/
36 }