diff options
author | 2016-03-09 12:08:27 +0100 | |
---|---|---|
committer | 2016-03-09 12:08:27 +0100 | |
commit | d981095d9602fb720ae9f428dfe689353016ec24 (patch) | |
tree | 786f0aa5e357a907d25ea26fe4c7b7425dda1575 | |
parent | remove net-misc (diff) | |
download | tbc-d981095d9602fb720ae9f428dfe689353016ec24.tar.gz tbc-d981095d9602fb720ae9f428dfe689353016ec24.tar.bz2 tbc-d981095d9602fb720ae9f428dfe689353016ec24.zip |
dev-libs/actor-framework:
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
-rw-r--r-- | dev-libs/actor-framework/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/actor-framework/actor-framework-0.14.4.ebuild | 75 | ||||
-rw-r--r-- | dev-libs/actor-framework/metadata.xml | 27 |
3 files changed, 103 insertions, 0 deletions
diff --git a/dev-libs/actor-framework/Manifest b/dev-libs/actor-framework/Manifest new file mode 100644 index 0000000..8a648ae --- /dev/null +++ b/dev-libs/actor-framework/Manifest @@ -0,0 +1 @@ +DIST 0.14.4.tar.gz 1239230 SHA256 7e77b1edc708ac66be3ab2ba29506681458422e59a2e1b3cd801152ba345fb00 SHA512 9f7c7876576f5716cc7cec4603b90521cdc1a89631aa7c85eb00e1b49c911b7c24116b8b23d2d342cc01b1e3dfb28436b59e4323b97b973bda6b20652449ff05 WHIRLPOOL 0a31661a8531ccedc39a24777fa1f5285c8acafebd0a8bc58d974ab0e10547257107adfa173550d9b88e21d6f136c93542db83b1ed922b5f1b7a680753621726 diff --git a/dev-libs/actor-framework/actor-framework-0.14.4.ebuild b/dev-libs/actor-framework/actor-framework-0.14.4.ebuild new file mode 100644 index 0000000..832cb44 --- /dev/null +++ b/dev-libs/actor-framework/actor-framework-0.14.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils cmake-multilib flag-o-matic + +DESCRIPTION="An Open Source Implementation of the Actor Model in C++" +HOMEPAGE="http://actor-framework.org/" +SRC_URI="https://github.com/actor-framework/actor-framework/archive/${PV}.tar.gz" + +LICENSE="Boost-1.0 BSD-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost debug doc examples +mem_management opencl +riac static test" + +DEPEND="${RDEPEND} + app-doc/doxygen + doc? ( dev-texlive/texlive-latex + dev-tex/hevea ) +" +RDEPEND="boost? ( dev-libs/boost[${MULTILIB_USEDEP}] ) + net-misc/curl[${MULTILIB_USEDEP}] + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) +" + +CXXFLAGS="${CXXFLAGS} -std=c++11 -Wextra -Wall -pedantic" +CFLAGS="${CFLAGS} -std=c11 -Wextra -Wall -pedantic" + +src_prepare() { + find "${S}" -name CMakeLists.txt \ + -exec sed -i 's#\(install(.* DESTINATION \)lib#\1${LIBRARY_OUTPUT_PATH}#g' \{\} \; \ + || die + rm examples/CMakeLists.txt || die + + cmake-utils_src_prepare +} + +multilib_src_configure() { + mycmakeargs+=( + -DCAF_NO_EXAMPLES=ON + -DCAF_USE_ASIO=$(usex boost) + -DCAF_LOG_LEVEL=$(usex debug 3 0) + -DCAF_ENABLE_RUNTIME_CHECKS=$(usex debug) + -DCAF_ENABLE_ADDRESS_SANITIZER=$(usex debug) + -DCAF_NO_MEM_MANAGEMENT=$(usex mem_management OFF ON) + -DCAF_NO_OPENCL=$(usex opencl OFF ON) + -DCAF_BUILD_STATIC=$(usex static) + -DCAF_NO_UNIT_TESTS=$(usex test OFF ON ) + -DLIBRARY_OUTPUT_PATH="$(get_libdir)" + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + + if use doc; then + cd "${S}/manual/build-pdf" + make + cd "${S}/manual/build-html" + make + fi +} + +multilib_src_install() { + DOCS=( README.md ) + use examples && DOCS+=( "${S}/examples" ) + use doc && HTML_DOCS+=( "${S}/manual/build-html/manual.html" ) + use doc && DOCS+=( "${S}/manual/build-pdf/manual.pdf" ) + + cmake-utils_src_install +} diff --git a/dev-libs/actor-framework/metadata.xml b/dev-libs/actor-framework/metadata.xml new file mode 100644 index 0000000..19fdcb8 --- /dev/null +++ b/dev-libs/actor-framework/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tomboy64@sina.cn</email> + <name>M.B.</name> + <description>Maintainer, assign bugs to him</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="boost">Make use os Boost's ASIO functionality</flag> + <flag name="debug">Raises log-level to DEBUG, enables runtime checks and address sanitizer</flag> + <flag name="doc">Compiles and installs the documentation as PDF and HTML</flag> + <flag name="examples">Installs the provided example source files</flag> + <flag name="mem_management">Enables built-in memory management</flag> + <flag name="opencl">Compiles against the provided opencl implementation</flag> + <flag name="riac">TBD</flag> + <flag name="static">Provides a static build</flag> + <flag name="test">Builds the provided unit tests</flag> + </use> + <upstream> + <remote-id type="github">actor-framework/actor-framework</remote-id> + </upstream> +</pkgmetadata> |