diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-cpp/icnc |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-cpp/icnc')
-rw-r--r-- | dev-cpp/icnc/Manifest | 5 | ||||
-rw-r--r-- | dev-cpp/icnc/icnc-1.0.100.ebuild | 77 | ||||
-rw-r--r-- | dev-cpp/icnc/metadata.xml | 11 |
3 files changed, 93 insertions, 0 deletions
diff --git a/dev-cpp/icnc/Manifest b/dev-cpp/icnc/Manifest new file mode 100644 index 000000000000..53704bd919a1 --- /dev/null +++ b/dev-cpp/icnc/Manifest @@ -0,0 +1,5 @@ +DIST icnc-1.0.100.tar.gz 27164070 SHA256 1004d054a7a9a80a3607e434b7d9c4958a89298d13391613dc4db8bf8dcb22aa SHA512 b6c231504ed36676d5c4a9c651c7ce6bee078a415c8d365dbe66208a5226a71c62924ee7bc0b36f8c35bff20ed5f0baf2710f581595d08fe10a1d799b3982a8b WHIRLPOOL b19bebea58fd39f67cfb8d9f94bc8d4588bb57fda1105d4b4227ffde183344b4ff02776d2328a874ad90823077d36237b20d28182bd7ceb4dfd4efb7da8a6907 +EBUILD icnc-1.0.100.ebuild 1765 SHA256 2eac832e4c97ef04af72aa457f5b96eb120a7c770c5df21a0fb710fcf8959ade SHA512 8604fc5c7e9083a3bdb8ce1836125114ad16bfa813a6b0878b8ad4f51bed45390a4edb1014fc45468ceaae62bd0182f398960f77e0a3d433a3161f0ee7c091b0 WHIRLPOOL e00555172c4d3f7abde5d9070d8e88a104e95842f6443082614b15e5bba65db6bfb666bcf05ad87ee5f2b8100789ead028024caab404668831bc3ddc940489ca +MISC ChangeLog 2293 SHA256 1b08eff0bb5950d18164ca0c884a62eff3573463f46cdd98da7f9667f787581f SHA512 132b97c812d8d7a92f173304d358cd7327ae65d7a716dd84cafb682a3efb509e0bbb012827a65647826bac0e84d945bda70cdd026538049b0d1df0aff90dc482 WHIRLPOOL b8d3d29d7c474bd7f53cf6e405c2400c1645ea1ede3dea7d101fa42789ce1e72608dca0c4b5921b85d8b10a9d630dd4563e8aa21e4f96632d936da7a7801f160 +MISC ChangeLog-2015 700 SHA256 3f808ce1306bf7149c672320aa89f4fda45dfedfada71524cfdab479c26b229d SHA512 e439d311e25ddb88794756e4644c2a23a2d8d7ec703da51d095c7d2ecbab2198ee63b80436d803958104b66fcc72d5ec3910695af15089708802b4e7c0dbfda0 WHIRLPOOL 206f6180d8d25cce96176b9f0b01409fcf6423d177d9c976bc25848eba3cae07e97078d819ec30b7dc0ec02e8a430c3fb2b8e06108dbc09d5c0cd3863197dc1d +MISC metadata.xml 337 SHA256 c0f412fdf458837d41180ce92ff8d5d6aa138e17b1ba3fed44dc018d45651d81 SHA512 50bfdd67e0a941f429e069d7c39815eba258d1f268c51d40ee38f63e44343dae130fe541ca5529eb19ea25f4e8a3619003db43477541ca5ece1b9639e086e5aa WHIRLPOOL f9b88398f0df268f5767d1e83bdeda98259b95b1f2c32264b2291b58b1626f1c0b2416da5f4b4b24a294d47bb00ca671e6a6bcf298f063d118420040a059187b diff --git a/dev-cpp/icnc/icnc-1.0.100.ebuild b/dev-cpp/icnc/icnc-1.0.100.ebuild new file mode 100644 index 000000000000..85a28e528c1d --- /dev/null +++ b/dev-cpp/icnc/icnc-1.0.100.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils multilib python-any-r1 + +DESCRIPTION="Intel Concurrent Collections for C++ - Parallelism without the Pain" +HOMEPAGE="https://software.intel.com/en-us/articles/intel-concurrent-collections-for-cc" + +if [[ $PV = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/icnc/icnc.git" + KEYWORDS= +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples mpi test" +RESTRICT="test" #currently tests only work if icnc is already installed + +RDEPEND=" + >=dev-cpp/tbb-4.2 + sys-libs/glibc + mpi? ( virtual/mpi ) + " +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( ${PYTHON_DEPS} ) + " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use mpi BUILD_LIBS_FOR_MPI) + -DLIB=$(get_libdir) + $(cmake-utils_use_find_package doc Doxygen) + ) + cmake-utils_src_configure + if use test ; then + mycmakeargs=( -DRUN_DIST=OFF ) + CMAKE_USE_DIR="${S}/tests" \ + BUILD_DIR="${WORKDIR}/${P}_tests_build" \ + cmake-utils_src_configure + fi +} + +src_compile() { + cmake-utils_src_compile + use test && BUILD_DIR="${WORKDIR}/${P}_tests_build" cmake-utils_src_compile +} + +src_test() { + BUILD_DIR="${WORKDIR}/${P}_tests_build" cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install + if use doc ; then + insinto /usr/share/doc/${P}/html + doins -r "${ED}"/usr/doc/api/* + fi + rm -fr "${ED}"/usr/doc + if use examples ; then + insinto /usr/share/${PN}/examples + doins -r "${ED}"/usr/samples/* + fi + rm -r "${ED}"/usr/samples || die + insinto /usr/share/${PN}/ + doins -r "${ED}"/usr/misc/* + rm -r "${ED}"/usr/misc/ || die +} diff --git a/dev-cpp/icnc/metadata.xml b/dev-cpp/icnc/metadata.xml new file mode 100644 index 000000000000..fa8784ee0534 --- /dev/null +++ b/dev-cpp/icnc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>junghans@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> + <upstream> + <remote-id type="github">icnc/icnc</remote-id> + </upstream> +</pkgmetadata> |