all repos — la-ninpre-overlay @ 7fbaebcd4dbff91d37fa901822cd920c01f0a334

personal gentoo overlay

dev-libs/libcyaml: new package, add 1.3.1
la-ninpre leobrekalini@gmail.com
Tue, 06 Sep 2022 01:00:11 +0300
commit

7fbaebcd4dbff91d37fa901822cd920c01f0a334

parent

d330d8c1a4084184a5340d10955616889446d82a

A dev-libs/libcyaml/Manifest

@@ -0,0 +1,1 @@

+DIST libcyaml-1.3.1.tar.gz 85605 BLAKE2B 5e78ccca8784f663f77b3bf87946f1898328323384522fcadd85da6b9daef73e3401f86214e3dddd494bc342ef362c7ec253284b9d74f8e147951b64e8a53a04 SHA512 2daa380e579836aae78d442323ca4a13125ba0ac7be2a0ad9fc79d05b5b3c14a4c5041ee50c5c28ed71793d7748e50d68ac3c65cf856afe2614d098ad62b6e88
A 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)" +}
A 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>