From 7fbaebcd4dbff91d37fa901822cd920c01f0a334 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Tue, 6 Sep 2022 01:00:11 +0300 Subject: dev-libs/libcyaml: new package, add 1.3.1 --- dev-libs/libcyaml/Manifest | 1 + dev-libs/libcyaml/libcyaml-1.3.1.ebuild | 36 +++++++++++++++++++++++++++++++++ dev-libs/libcyaml/metadata.xml | 18 +++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-libs/libcyaml/Manifest create mode 100644 dev-libs/libcyaml/libcyaml-1.3.1.ebuild create mode 100644 dev-libs/libcyaml/metadata.xml diff --git a/dev-libs/libcyaml/Manifest b/dev-libs/libcyaml/Manifest new file mode 100644 index 0000000..bba9091 --- /dev/null +++ b/dev-libs/libcyaml/Manifest @@ -0,0 +1 @@ +DIST libcyaml-1.3.1.tar.gz 85605 BLAKE2B 5e78ccca8784f663f77b3bf87946f1898328323384522fcadd85da6b9daef73e3401f86214e3dddd494bc342ef362c7ec253284b9d74f8e147951b64e8a53a04 SHA512 2daa380e579836aae78d442323ca4a13125ba0ac7be2a0ad9fc79d05b5b3c14a4c5041ee50c5c28ed71793d7748e50d68ac3c65cf856afe2614d098ad62b6e88 diff --git a/dev-libs/libcyaml/libcyaml-1.3.1.ebuild b/dev-libs/libcyaml/libcyaml-1.3.1.ebuild new file mode 100644 index 0000000..ea1c175 --- /dev/null +++ b/dev-libs/libcyaml/libcyaml-1.3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="C library for reading and writing YAML" + +HOMEPAGE="https://github.com/tlsa/libcyaml/" + +SRC_URI="https://github.com/tlsa/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" + +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="debug" + +RDEPEND="dev-libs/libyaml" + +DEPEND="${RDEPEND}" + +BDEPEND="virtual/pkgconfig" + +src_configure() { + if use debug ; then + VARIANT=debug + else + VARIANT=release + fi + + export VARIANT + export PREFIX="${EPREFIX}/usr" + export LIBDIR="$(get_libdir)" +} diff --git a/dev-libs/libcyaml/metadata.xml b/dev-libs/libcyaml/metadata.xml new file mode 100644 index 0000000..be739a8 --- /dev/null +++ b/dev-libs/libcyaml/metadata.xml @@ -0,0 +1,18 @@ + + + + + la ninpre + aaoth@aaoth.xyz + + LibCYAML is a C library for reading and writing structured YAML documents. + It is written in ISO C11 and licensed under the ISC licence. + + The fundamental idea behind CYAML is to allow applications to construct + schemas which describe both the permissible structure of the YAML documents + to read/write, and the C data structure(s) in which the loaded data is arranged in memory. + + + enable building debug symbols + + -- cgit v1.2.3