wok annotate yaml/receipt @ rev 24983
Up xcursor-comix (0.9.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 16:45:21 2022 +0000 (2022-05-08) |
parents | 0a8fc7cb7244 |
children |
rev | line source |
---|---|
erjo@11448 | 1 # SliTaz package receipt. |
erjo@11448 | 2 |
erjo@11448 | 3 PACKAGE="yaml" |
Hans-G?nter@23787 | 4 VERSION="0.2.4" |
erjo@11448 | 5 CATEGORY="system-tools" |
Hans-G?nter@22320 | 6 SHORT_DESC="YAML parser and emitter written in C." |
erjo@11448 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15362 | 8 LICENSE="CC-BY" |
pascal@20671 | 9 WEB_SITE="https://pyyaml.org/wiki/LibYAML" |
Hans-G?nter@22320 | 10 |
erjo@11448 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 12 WGET_URL="https://pyyaml.org/download/libyaml/$TARBALL" |
erjo@11448 | 13 |
erjo@11448 | 14 DEPENDS="" |
erjo@11448 | 15 BUILD_DEPENDS="" |
erjo@11448 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://github.com/yaml/libyaml/tags 2>/dev/null | \ |
pascal@24304 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
erjo@11448 | 24 # Rules to configure and make the package. |
erjo@11448 | 25 compile_rules() |
erjo@11448 | 26 { |
Hans-G?nter@22320 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22320 | 28 make && |
Hans-G?nter@22320 | 29 make install |
erjo@11448 | 30 } |
erjo@11448 | 31 |
erjo@11448 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11448 | 33 genpkg_rules() |
erjo@11448 | 34 { |
erjo@11448 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@22320 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11448 | 37 } |