summaryrefslogtreecommitdiff
path: root/dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-05-23 02:33:24 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-05-24 22:05:24 -0500
commitd8c4c8e754d02129e8a850690fd95f0ee41d4e5b (patch)
tree37750e687cd8830d919578d4fb3921ac0e988e62 /dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild
parent7f03ec4a46055a75eb13bf5fad85cf451822f589 (diff)
downloadgentoo-d8c4c8e754d02129e8a850690fd95f0ee41d4e5b.tar.gz
gentoo-d8c4c8e754d02129e8a850690fd95f0ee41d4e5b.tar.bz2
gentoo-d8c4c8e754d02129e8a850690fd95f0ee41d4e5b.zip
dev-cpp/cpp-taskflow: also install cmake project configuration
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild')
-rw-r--r--dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild b/dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild
new file mode 100644
index 000000000000..b3df053c1da1
--- /dev/null
+++ b/dev-cpp/cpp-taskflow/cpp-taskflow-2.4.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Modern C++ Parallel Task Programming"
+HOMEPAGE="https://cpp-taskflow.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND=""
+
+PATCHES=(
+ "${FILESDIR}"/${P}-do_not_compile_examples.patch
+ "${FILESDIR}"/${P}-fix_installation_path.patch
+)
+
+HTML_DOCS=( docs/. )
+
+src_install() {
+ cmake-utils_src_install
+
+ if $(use doc); then
+ einstalldocs
+ fi
+}