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