summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-07-07 08:07:37 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-07-07 08:19:11 +0200
commit3c3aa8c8f5410ab741a1a6ac81a0ba9d53d57dfa (patch)
treea40dd4b3ac3be957dbdbb58bd87147e63010becc /dev-libs/castxml
parentdev-python/cython: Remove old (diff)
downloadgentoo-3c3aa8c8f5410ab741a1a6ac81a0ba9d53d57dfa.tar.gz
gentoo-3c3aa8c8f5410ab741a1a6ac81a0ba9d53d57dfa.tar.bz2
gentoo-3c3aa8c8f5410ab741a1a6ac81a0ba9d53d57dfa.zip
dev-libs/castxml: new package, add 0.4.5
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/castxml')
-rw-r--r--dev-libs/castxml/Manifest1
-rw-r--r--dev-libs/castxml/castxml-0.4.5.ebuild40
-rw-r--r--dev-libs/castxml/metadata.xml12
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest
new file mode 100644
index 000000000000..11a4f5007da9
--- /dev/null
+++ b/dev-libs/castxml/Manifest
@@ -0,0 +1 @@
+DIST castxml-0.4.5.tar.gz 104158 BLAKE2B 7d1642442d6908a7d7e1dd8f80a37b55ec8652191c4c93faf7f45601d730653d9b0e5af601f74aca7bce8579c0006eab0e9a2a75752abe2acbec1cfbf1522645 SHA512 c35c5d60dc7487d5dddba34de92590122db8457659458ee4e735fe9936dc59473bd31ed602e05e73651780f25a55ef5554e2daec0923ffb5a7575904320f5352
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>