summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2016-06-11 09:23:28 +0200
committerDirkjan Ochtman <djc@gentoo.org>2016-06-11 09:23:28 +0200
commitbc48f5174d1b5e517fddc13835da29aacec5ef63 (patch)
tree1b864f823a5728ac2d271cc2d76d0c1ee1834056
parentdev-ruby/tidy-ext: fix security bug 561452 (diff)
downloadgentoo-bc48f5174d1b5e517fddc13835da29aacec5ef63.tar.gz
gentoo-bc48f5174d1b5e517fddc13835da29aacec5ef63.tar.bz2
gentoo-bc48f5174d1b5e517fddc13835da29aacec5ef63.zip
dev-libs/nanomsg: version bump to 1.0.0
Package-Manager: portage-2.2.28
-rw-r--r--dev-libs/nanomsg/Manifest1
-rw-r--r--dev-libs/nanomsg/nanomsg-1.0.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/Manifest b/dev-libs/nanomsg/Manifest
index c22f6bfb2e9..52a1a33b868 100644
--- a/dev-libs/nanomsg/Manifest
+++ b/dev-libs/nanomsg/Manifest
@@ -1,2 +1,3 @@
DIST 0.9-beta.tar.gz 310601 SHA256 4c15248baa594523fc34368166cdb42e766e50c58b41a73f925879f6d87ba601 SHA512 3a7141dda6152e5192faaa9354116a9dc43636dbc03ebff0598796210c310756d3841cf7bb6857be46722d8952894f5bebe192ec538511825f72e700ac4e03cb WHIRLPOOL c2150f1a71b8e35e2258a4f3b264e4356553312f07ef079d2bfd5279cf52df4ffa3a7bb4738f85d86945ab17ee04a7f1d2c17d8011bb6ae396be2b689282e8d0
+DIST 1.0.0.tar.gz 305040 SHA256 24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7 SHA512 06fc4eadac29439024bd24230c73f43ddc46e6b6848ad75952b67bf301066be5752a844173597c1b42e55c1ebb66a2d2cb7693e4cbfc07584b4398597cbc9200 WHIRLPOOL 97ac9ff5170ee649c7803f7ea22713889506ce54a1fb0a55c5d2ac82a1359e8367189d9e3d8d8ecb85193ec8770c78365aa7a9daeefe5705fc3049c27558a52d
DIST nanomsg-0.8-beta.tar.gz 589221 SHA256 75ce0c68a50cc68070d899035d5bb1e2bd75a5e01cbdd86ba8af62a84df3a947 SHA512 457e99e2b2568370bf052a20e2abb38faad9afa9019d38aa35df6cf49d1d3f50e3a0b26a64089e823b7d907041e8069c99a06706678b070a26e0cbe2e26588d2 WHIRLPOOL a0c00848b8ca2178588047aaaedb9e3b10a993e5ae5d2c0da6716b861003deaf1ce3891850919db73202de8d1aa36e21c1f440600ce2be852189988fae4994fd
diff --git a/dev-libs/nanomsg/nanomsg-1.0.0.ebuild b/dev-libs/nanomsg/nanomsg-1.0.0.ebuild
new file mode 100644
index 00000000000..fd576c1149b
--- /dev/null
+++ b/dev-libs/nanomsg/nanomsg-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# 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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/5.0.0"
+KEYWORDS="~amd64"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( dev-ruby/asciidoctor )"
+RDEPEND=""
+
+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
+}