1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="High-performance messaging interface for distributed applications"
10 HOMEPAGE="http://nanomsg.org/"
11 SRC_URI="https://github.com/nanomsg/nanomsg/archive/${PV}-beta.tar.gz"
16 IUSE="doc static-libs"
18 DEPEND="doc? ( dev-ruby/asciidoctor )"
21 S="${WORKDIR}/${P}-beta"
23 multilib_src_configure() {
25 -DNN_STATIC_LIB=$(usex static-libs ON OFF)
27 if multilib_is_native_abi; then
29 -DNN_ENABLE_DOC=$(usex doc ON OFF)
35 -DNN_ENABLE-NANOCAT=OFF
38 cmake-utils_src_configure