wok view puzzles/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents bfaaab0fd7b3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 GITHASH="387d323dd8d579db2c90b499b3b19f746cbdbce5"
5 VERSION="20220612"
6 CATEGORY="games"
7 SHORT_DESC="Misc puzzles games."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=$GITHASH;sf=tgz"
15 DEPENDS="cairo gtk+ libxcb xorg-libXrandr"
16 BUILD_DEPENDS="file gtk+-dev cmake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - 'https://git.tartarus.org/?p=simon/puzzles.git' 2>/dev/null | \
22 sed '/<i>[0-9-]*<.i>/!d;s|.*<i>||;s|<.*||;s|-||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
29 cmake --build . &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr/* $fs/
37 }