diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-24 14:02:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-24 14:02:21 +0000 |
commit | 9aefa814d833d6bdd1bdbc7d0f44d5680c9beaa8 (patch) | |
tree | b70c1d27324b2ed33e5688d4a21f6c5195032ecf /dev-libs/castxml/castxml-0.5.1.ebuild | |
parent | 1cf3f23200484257eaf7d863e323e7e9aee98d2b (diff) |
gentoo auto-resync : 24:12:2022 - 14:02:21
Diffstat (limited to 'dev-libs/castxml/castxml-0.5.1.ebuild')
-rw-r--r-- | dev-libs/castxml/castxml-0.5.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/castxml/castxml-0.5.1.ebuild b/dev-libs/castxml/castxml-0.5.1.ebuild new file mode 100644 index 000000000000..7eee74c7e25a --- /dev/null +++ b/dev-libs/castxml/castxml-0.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C-family abstract syntax tree XML output tool" +HOMEPAGE="https://github.com/CastXML/CastXML" +SRC_URI="https://github.com/CastXML/CastXML/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/CastXML-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-devel/llvm:= + sys-devel/clang:= + " +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + man? ( dev-python/sphinx ) + " + +PATCHES=( + "${FILESDIR}"/${PN}-fix-tests.patch +) + +src_configure() { + local mycmakeargs=( + -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" + -DCastXML_INSTALL_MAN_DIR="share/man" + -DSPHINX_MAN="$(usex man)" + -DSPHINX_HTML=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} |