SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yaml"

# SliTaz package receipt.

PACKAGE="yaml"
VERSION="0.2.4"
CATEGORY="system-tools"
SHORT_DESC="YAML parser and emitter written in C."
MAINTAINER="erjo@slitaz.org"
LICENSE="CC-BY"
WEB_SITE="https://pyyaml.org/wiki/LibYAML"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://pyyaml.org/download/libyaml/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/yaml/libyaml/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)