wok-current annotate puzzles/receipt @ rev 25082
updated oxygen-icons (5.68.0 -> 5.95.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:04:41 2022 +0100 (2022-06-15) |
parents | 7c0170dd3ecc |
children | 4eb0430e6d58 |
rev | line source |
---|---|
erjo@6070 | 1 # SliTaz package receipt. |
erjo@6070 | 2 |
erjo@6070 | 3 PACKAGE="puzzles" |
pascal@25041 | 4 VERSION="20220128" |
erjo@6070 | 5 CATEGORY="games" |
erjo@6070 | 6 SHORT_DESC="Misc puzzles games." |
erjo@6070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
pascal@20669 | 9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/" |
Hans-G?nter@21731 | 10 |
pascal@25041 | 11 TARBALL="$PACKAGE-$VERSION.c43a34f.tar.gz" |
erjo@6070 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@15136 | 13 |
Hans-G?nter@21731 | 14 DEPENDS="cairo gtk+ libxcb xorg-libXrandr" |
pascal@25041 | 15 BUILD_DEPENDS="file gtk+-dev cmake" |
erjo@6070 | 16 |
pascal@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - 'https://git.tartarus.org/?p=simon/puzzles.git' 2>/dev/null | \ |
pascal@24535 | 21 sed '/<i>[0-9-]*<.i>/!d;s|.*<i>||;s|<.*||;s|-||g;q' |
pascal@24535 | 22 } |
pascal@24535 | 23 |
erjo@6070 | 24 # Rules to configure and make the package. |
erjo@6070 | 25 compile_rules() |
erjo@6070 | 26 { |
pascal@25041 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@25041 | 28 cmake --build . && |
pascal@25041 | 29 make install |
erjo@6070 | 30 } |
erjo@6070 | 31 |
erjo@6070 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@6070 | 33 genpkg_rules() |
erjo@6070 | 34 { |
Hans-G?nter@21731 | 35 cp -a $install/usr/* $fs/ |
erjo@6070 | 36 } |