blob: ea1c175b2e42e505d2af8c947c9c25ed56c7ba14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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)"
}
|