diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-09-06 01:00:11 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-09-06 01:00:11 +0300 |
| commit | 7fbaebcd4dbff91d37fa901822cd920c01f0a334 (patch) | |
| tree | 58f9d7db657b2d6ba0e3b82717d9e7a3fb7516ae | |
| parent | d330d8c1a4084184a5340d10955616889446d82a (diff) | |
| download | la-ninpre-overlay-7fbaebcd4dbff91d37fa901822cd920c01f0a334.tar.gz la-ninpre-overlay-7fbaebcd4dbff91d37fa901822cd920c01f0a334.zip | |
dev-libs/libcyaml: new package, add 1.3.1
| -rw-r--r-- | dev-libs/libcyaml/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libcyaml/libcyaml-1.3.1.ebuild | 36 | ||||
| -rw-r--r-- | dev-libs/libcyaml/metadata.xml | 18 |
3 files changed, 55 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>la ninpre</name> + <email>aaoth@aaoth.xyz</email> </maintainer> + <longdescription> + 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. + </longdescription> + <use> + <flag name="debug">enable building debug symbols</flag> + </use> +</pkgmetadata> |
