diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-10-27 13:05:08 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-10-27 13:05:33 +0000 |
commit | d1f10c36ee63fc833b7637e85d5ee84f0622271a (patch) | |
tree | b1da890734bb35dfad40bb647e0c60cae2e2eac4 /dev-libs/nanomsg/nanomsg-1.1.0.ebuild | |
parent | dev-util/android-tools: x86 stable (bug #630344) (diff) | |
download | gentoo-d1f10c36ee63fc833b7637e85d5ee84f0622271a.tar.gz gentoo-d1f10c36ee63fc833b7637e85d5ee84f0622271a.tar.bz2 gentoo-d1f10c36ee63fc833b7637e85d5ee84f0622271a.zip |
dev-libs/nanomsg: Bump
Package-Manager: Portage-2.3.12, Repoman-2.3.4
Diffstat (limited to 'dev-libs/nanomsg/nanomsg-1.1.0.ebuild')
-rw-r--r-- | dev-libs/nanomsg/nanomsg-1.1.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/nanomsg-1.1.0.ebuild b/dev-libs/nanomsg/nanomsg-1.1.0.ebuild new file mode 100644 index 000000000000..b2e2b2fb1d47 --- /dev/null +++ b/dev-libs/nanomsg/nanomsg-1.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/5.0.0" +KEYWORDS="~amd64 ~arm ~arm64" +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 +} |