diff options
Diffstat (limited to 'dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild')
| -rw-r--r-- | dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild b/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild new file mode 100644 index 000000000000..20e4fcd677d9 --- /dev/null +++ b/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2025 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" + +# tests here are a maintenance headache, and current maintainer does +# not need this package anymore -- please take the package over if you +# want to handle this properly (keeping this in low maintenance mode +# incl. ignoring some features like python bindings) +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 +} |
