summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/rttr/rttr-0.9.6.ebuild')
-rw-r--r--dev-cpp/rttr/rttr-0.9.6.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/rttr/rttr-0.9.6.ebuild b/dev-cpp/rttr/rttr-0.9.6.ebuild
new file mode 100644
index 000000000000..f8a4cddbf344
--- /dev/null
+++ b/dev-cpp/rttr/rttr-0.9.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Run Time Type Reflection - library adding reflection to C++"
+HOMEPAGE="https://www.rttr.org/"
+SRC_URI="https://github.com/rttrorg/${PN}/releases/download/v${PV}/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-permission.patch"
+ "${FILESDIR}/${P}-tests.patch"
+ "${FILESDIR}/${P}-werror.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=off #broken
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ "${S}"/bin/unit_tests || die
+}