dev-libs/libcyaml - 9999 (flewkey-overlay)

Search

Install

Install this version:

emerge -a =dev-libs/libcyaml-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/libcyaml-9999

Or alternatively:

emerge --autounmask-write -a =dev-libs/libcyaml-9999

Package Information

Description:
C library for reading and writing YAML
Homepage:
https://github.com/tlsa/libcyaml/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/tlsa/libcyaml.git"
else
	SRC_URI="https://github.com/tlsa/libcyaml/archive/v${PV}.tar.gz  -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="C library for reading and writing YAML"
HOMEPAGE="https://github.com/tlsa/libcyaml/"
LICENSE="ISC"
SLOT="0"

src_compile() {
	emake VARIANT=release
}

src_install() {
	emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="$(get_libdir)" VARIANT=release install
}

Inherited Eclasses