summaryrefslogtreecommitdiff
path: root/dev-libs/castxml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/castxml')
-rw-r--r--dev-libs/castxml/Manifest3
-rw-r--r--dev-libs/castxml/castxml-0.4.5.ebuild40
-rw-r--r--dev-libs/castxml/metadata.xml12
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest
new file mode 100644
index 000000000000..dc1fe3e8ee40
--- /dev/null
+++ b/dev-libs/castxml/Manifest
@@ -0,0 +1,3 @@
+DIST castxml-0.4.5.tar.gz 104158 BLAKE2B 7d1642442d6908a7d7e1dd8f80a37b55ec8652191c4c93faf7f45601d730653d9b0e5af601f74aca7bce8579c0006eab0e9a2a75752abe2acbec1cfbf1522645 SHA512 c35c5d60dc7487d5dddba34de92590122db8457659458ee4e735fe9936dc59473bd31ed602e05e73651780f25a55ef5554e2daec0923ffb5a7575904320f5352
+EBUILD castxml-0.4.5.ebuild 781 BLAKE2B 35100f495fa41fb7b956b25c7f7681bad14e4fe7e382b79baceb047ee892a02c929c7830459161ce2bf8f41518bb1fc5f998e88bfb541a17db541e66068e9e3f SHA512 8b26adf0fe23d7f1d611d9c76d25a3bf39a4ad8794d2d0a8d8473208a566921adcd0ac0c2ea0a3736782ceb28a98c777234a10b80a1fc0ebeca54ce4e9386d96
+MISC metadata.xml 339 BLAKE2B 6a508ab09b30c771e4a962cf9d6debf8502907b91e2fea803a07f0871dbba5acc21c832d39674bf6431d6193775dacce982e3d726d32b81dee1d4fbd8ab52f7e SHA512 6bd8661c8651d51c1238fbf24a338a2179745fed87ed8012e67f163611ff5e14d50f802eddf5dc4dc7f00fd297a7734157a445a4d19163fd0df248005027b885
diff --git a/dev-libs/castxml/castxml-0.4.5.ebuild b/dev-libs/castxml/castxml-0.4.5.ebuild
new file mode 100644
index 000000000000..35603a9ecafd
--- /dev/null
+++ b/dev-libs/castxml/castxml-0.4.5.ebuild
@@ -0,0 +1,40 @@
+# 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 ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sys-devel/llvm:=
+ sys-devel/clang:=
+ "
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+ dev-python/sphinx
+ "
+
+src_configure() {
+ local mycmakeargs=(
+ -DCastXML_INSTALL_DOC_DIR="share/doc/${P}"
+ -DCastXML_INSTALL_MAN_DIR="share/man"
+ -DSPHINX_MAN=ON
+ -DSPHINX_HTML=OFF
+ -DBUILD_TESTING="$(usex test)"
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/castxml/metadata.xml b/dev-libs/castxml/metadata.xml
new file mode 100644
index 000000000000..642c87f3644f
--- /dev/null
+++ b/dev-libs/castxml/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>