wok-current view yaml/receipt @ rev 25376
updated tzdata (2019c -> 2022a)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 10:43:02 2022 +0100 (2022-07-30) |
parents | 0a8fc7cb7244 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="yaml"
4 VERSION="0.2.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="YAML parser and emitter written in C."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="CC-BY"
9 WEB_SITE="https://pyyaml.org/wiki/LibYAML"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://pyyaml.org/download/libyaml/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/yaml/libyaml/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }