mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 16:57:29 -07:00
tests aren't really the only corner being cut here. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
31 lines
776 B
Bash
31 lines
776 B
Bash
# Copyright 2022-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="Library to parse and emit YAML, and do it fast"
|
|
HOMEPAGE="https://github.com/biojppm/rapidyaml/"
|
|
SRC_URI="
|
|
https://github.com/biojppm/rapidyaml/releases/download/v${PV}/${P}-src.tgz
|
|
"
|
|
S=${WORKDIR}/${P}-src
|
|
|
|
LICENSE="MIT Boost-1.0 BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
|
|
# in general would rather keep this package low maintenance due to
|
|
# its build system, and tests + python bindings give headaches
|
|
RESTRICT="test"
|
|
|
|
DOCS=( README.md ROADMAP.md changelog )
|
|
|
|
src_prepare() {
|
|
cmake_src_prepare
|
|
|
|
sed -E "/set\(_(ARCHIVE|LIBRARY)_INSTALL/s:lib/:$(get_libdir)/:" \
|
|
-i ext/c4core/cmake/c4Project.cmake || die
|
|
}
|