commit:     b4807dca1b411ed14dd23c1fd1f9953efcce380a
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:04:49 2016 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:04:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4807dca

dev-libs/nanomsg: version bump to 0.9 (use CMake build system)

Package-Manager: portage-2.2.28

 dev-libs/nanomsg/Manifest           |  1 +
 dev-libs/nanomsg/nanomsg-0.9.ebuild | 39 +++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/nanomsg/Manifest b/dev-libs/nanomsg/Manifest
index 2595945..f1ca47b 100644
--- a/dev-libs/nanomsg/Manifest
+++ b/dev-libs/nanomsg/Manifest
@@ -1,3 +1,4 @@
+DIST 0.9-beta.tar.gz 310601 SHA256 
4c15248baa594523fc34368166cdb42e766e50c58b41a73f925879f6d87ba601 SHA512 
3a7141dda6152e5192faaa9354116a9dc43636dbc03ebff0598796210c310756d3841cf7bb6857be46722d8952894f5bebe192ec538511825f72e700ac4e03cb
 WHIRLPOOL 
c2150f1a71b8e35e2258a4f3b264e4356553312f07ef079d2bfd5279cf52df4ffa3a7bb4738f85d86945ab17ee04a7f1d2c17d8011bb6ae396be2b689282e8d0
 DIST nanomsg-0.5-beta.tar.gz 623927 SHA256 
13bff7ae8f31957722ee62d50504ce1a0c590da908f8566f997e3e521abb089f SHA512 
64bb658d80e94ec43e77b7a7c53a29e9b9cd02a7539e9c108b0bdfad8179af4202e11dcfdcb8400e3334931f61e59066fafe06c9df3bb4628dde6a047139ffe5
 WHIRLPOOL 
9b18a5b65d2ae321f112a5054fcfceda342c06a6745ba2eb8a4b4a64c40e0f47bc93b6da23202eeeef9b2992c842050cb53153293e79bda79f7b0aa86b26ca3d
 DIST nanomsg-0.6-beta.tar.gz 592512 SHA256 
69e2098446c9cd2c067b5ba38567c9ba30bf861a515b3d0a9302cb21c1167a69 SHA512 
3f0ac82013191a5352e9cf92b02fb620e705ae4e6cc9bdfd7bc37dd48faa652af5be3f8a3de111ca9bb93a3a06127e1f03ab3f7d48d7bb6ad0e16c0341915a50
 WHIRLPOOL 
9c26c755ad0f0a37994a744b2bf8fea77aba43b83ba3e231065c0f95a700ace93c5fec151a0ef4d0796fb4605c2259f36c8473072e2d6abffe31a61c8a039776
 DIST nanomsg-0.8-beta.tar.gz 589221 SHA256 
75ce0c68a50cc68070d899035d5bb1e2bd75a5e01cbdd86ba8af62a84df3a947 SHA512 
457e99e2b2568370bf052a20e2abb38faad9afa9019d38aa35df6cf49d1d3f50e3a0b26a64089e823b7d907041e8069c99a06706678b070a26e0cbe2e26588d2
 WHIRLPOOL 
a0c00848b8ca2178588047aaaedb9e3b10a993e5ae5d2c0da6716b861003deaf1ce3891850919db73202de8d1aa36e21c1f440600ce2be852189988fae4994fd

diff --git a/dev-libs/nanomsg/nanomsg-0.9.ebuild 
b/dev-libs/nanomsg/nanomsg-0.9.ebuild
new file mode 100644
index 0000000..ad10310
--- /dev/null
+++ b/dev-libs/nanomsg/nanomsg-0.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-multilib
+
+DESCRIPTION="High-performance messaging interface for distributed applications"
+HOMEPAGE="http://nanomsg.org/";
+SRC_URI="https://github.com/nanomsg/nanomsg/archive/${PV}-beta.tar.gz";
+
+LICENSE="MIT"
+SLOT="0/5.0.0"
+KEYWORDS="~amd64"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( dev-ruby/asciidoctor )"
+RDEPEND=""
+
+S="${WORKDIR}/${P}-beta"
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DNN_STATIC_LIB=$(usex static-libs ON OFF)
+       )
+       if multilib_is_native_abi; then
+               mycmakeargs+=(
+                       -DNN_ENABLE_DOC=$(usex doc ON OFF)
+               )
+       else
+               mycmakeargs+=(
+                       -DNN_ENABLE_DOC=OFF
+                       -DNN_ENABLE_TOOLS=OFF
+                       -DNN_ENABLE-NANOCAT=OFF
+               )
+       fi
+       cmake-utils_src_configure
+}

Reply via email to