summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2015-01-30 08:38:11 +0000
committerSergey Popov <pinkbyte@gentoo.org>2015-01-30 08:38:11 +0000
commitfbed6686d703d0fbf027e2c645628d25555bc825 (patch)
tree036ddd089675cab6e699c5a861a72fb2a2bbb859 /dev-libs/nanomsg/nanomsg-0.5-r1.ebuild
parentAdd missing dependency on app-portage/gentoolkit as porticron calls glsa-chec... (diff)
downloadhistorical-fbed6686d703d0fbf027e2c645628d25555bc825.tar.gz
historical-fbed6686d703d0fbf027e2c645628d25555bc825.tar.bz2
historical-fbed6686d703d0fbf027e2c645628d25555bc825.zip
Revision bump: use multilib-aware eclasses, wrt bug #537038. Build and install manpages, wrt bug #526258
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'dev-libs/nanomsg/nanomsg-0.5-r1.ebuild')
-rw-r--r--dev-libs/nanomsg/nanomsg-0.5-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/nanomsg-0.5-r1.ebuild b/dev-libs/nanomsg/nanomsg-0.5-r1.ebuild
new file mode 100644
index 000000000000..524454d74feb
--- /dev/null
+++ b/dev-libs/nanomsg/nanomsg-0.5-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nanomsg/nanomsg-0.5-r1.ebuild,v 1.1 2015/01/30 08:38:10 pinkbyte Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-multilib
+
+DESCRIPTION="High-performance messaging interface for distributed applications"
+HOMEPAGE="http://nanomsg.org/"
+SRC_URI="http://download.nanomsg.org/${P}-beta.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/0.2.1"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~s390 ~x86"
+IUSE="doc static-libs"
+
+DEPEND="doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ )"
+RDEPEND=""
+
+S="${WORKDIR}/${P}-beta"
+
+src_prepare() {
+ sed -i -e 's/doc_DATA/html_DATA/' Makefile.am || die
+
+ autotools-multilib_src_prepare
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --htmldir "/usr/share/doc/${PF}/html"
+ )
+ if multilib_is_native_abi; then
+ myeconfargs+=(
+ $(use_enable doc)
+ )
+ else
+ myeconfargs+=(
+ --disable-doc
+ --disable-nanocat
+ --disable-symlinks
+ )
+ fi
+ autotools-utils_src_configure
+}