commit:     e6087c1d9868490765053cf56142c4cb52ce038b
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 13:31:04 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon May 23 13:31:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6087c1d

net-libs/rabbitmq-c: Version bump wrt bug 545250

Package-Manager: portage-2.3.0_rc1

 net-libs/rabbitmq-c/Manifest                |  1 +
 net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild | 47 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/net-libs/rabbitmq-c/Manifest b/net-libs/rabbitmq-c/Manifest
index e0ab5ee..df5c115 100644
--- a/net-libs/rabbitmq-c/Manifest
+++ b/net-libs/rabbitmq-c/Manifest
@@ -1 +1,2 @@
 DIST rabbitmq-c-v0.5.0.zip 234929 SHA256 
91e883c5cc3c72c5cb351c598b39e2e531c891b5a3e6ad1f82ee261caa5a3e6c SHA512 
7b30ecc4831f0145db68a1811b5cb7e4eb55a6b826efa0834a705c03f2ecba3d6d2b8187cdf1472e7da2af8dc77b67674916ec31fa6086e00a01304a097b4430
 WHIRLPOOL 
acf08d02c0ddcc9f651aae2e5cef5f37f0748179cbd015d7c550405e2efb380c5d921faec49cb5eebdd442985aa73236cc9861b74925e8c3370a589dba7af602
+DIST rabbitmq-c-v0.8.0.zip 249220 SHA256 
f32d6b7c368f7883da76dd10f9035d9194c5d988bd2cbd9daf0cde2b4e92004d SHA512 
e386979ce1bc05c02cda06e8582981e0df25f9b31ca950f8a921bd2b249020f751ba65a6f38b8f5ba0be1b3e89492b29b72c6cd1d5ed3d6f19440799d6419ba6
 WHIRLPOOL 
705bb4c685c1d441776403d5c47f910de06ce4a1874bcc2e2a535bc9f9f1fdd1dede4e02e451423c4faefa492cab0a21c23d0bc1cf1adf9e43a2f6f88e65cb1c

diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild 
b/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild
new file mode 100644
index 0000000..82dfd21
--- /dev/null
+++ b/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit cmake-utils
+
+DESCRIPTION="RabbitMQ C client"
+HOMEPAGE="https://github.com/alanxz/rabbitmq-c";
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="git://github.com/alanxz/rabbitmq-c.git"
+else
+       SRC_URI="https://github.com/alanxz/rabbitmq-c/archive/v${PV}.zip -> 
${PN}-v${PV}.zip"
+       KEYWORDS="~amd64 ~arm ~hppa ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/4"
+IUSE="doc libressl test +ssl static-libs tools"
+
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="ssl? (
+               libressl? ( dev-libs/libressl:= )
+               !libressl? ( dev-libs/openssl:0= )
+       )
+       tools? ( dev-libs/popt )"
+DEPEND="${DEPEND}
+       doc? ( app-doc/doxygen )
+       tools? ( app-text/xmlto )"
+DOCS=( AUTHORS README.md THANKS TODO )
+
+src_configure() {
+       mycmakeargs=(
+               -DCMAKE_SKIP_RPATH=ON
+               -DBUILD_API_DOCS=$(usex doc)
+               -DBUILD_STATIC_LIBS=$(usex static-libs)
+               -DBUILD_TESTS=$(usex test)
+               -DBUILD_TOOLS=$(usex tools)
+               -DBUILD_TOOLS_DOCS=$(usex tools)
+               -DENABLE_SSL_SUPPORT=$(usex ssl)
+       )
+       cmake-utils_src_configure
+}

Reply via email to