diff options
Diffstat (limited to 'dev-libs/libcyaml/libcyaml-1.3.1.ebuild')
| -rw-r--r-- | dev-libs/libcyaml/libcyaml-1.3.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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)" +} |
