wok-current view puzzles/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
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 }