summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2013-03-14 18:50:42 +0000
committerOle Markus With <olemarkus@gentoo.org>2013-03-14 18:50:42 +0000
commit75d87a1988e10635c396d20f25a6e79b03a2041e (patch)
tree8705d3aaab347b929df2d4c07817ed99189d25e4 /net-libs/rabbitmq-c
parentversion bump (diff)
downloadhistorical-75d87a1988e10635c396d20f25a6e79b03a2041e.tar.gz
historical-75d87a1988e10635c396d20f25a6e79b03a2041e.tar.bz2
historical-75d87a1988e10635c396d20f25a6e79b03a2041e.zip
New package. Thanks to Travis Hansen. Bug 433503
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64 Manifest-Sign-Key: 0xC4A92BF5
Diffstat (limited to 'net-libs/rabbitmq-c')
-rw-r--r--net-libs/rabbitmq-c/ChangeLog9
-rw-r--r--net-libs/rabbitmq-c/Manifest21
-rw-r--r--net-libs/rabbitmq-c/files/xmlto.patch25
-rw-r--r--net-libs/rabbitmq-c/metadata.xml14
-rw-r--r--net-libs/rabbitmq-c/rabbitmq-c-0.3.0.ebuild46
5 files changed, 115 insertions, 0 deletions
diff --git a/net-libs/rabbitmq-c/ChangeLog b/net-libs/rabbitmq-c/ChangeLog
new file mode 100644
index 000000000000..99d2440e2ca2
--- /dev/null
+++ b/net-libs/rabbitmq-c/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-libs/rabbitmq-c
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rabbitmq-c/ChangeLog,v 1.1 2013/03/14 18:50:36 olemarkus Exp $
+
+*rabbitmq-c-0.3.0 (14 Mar 2013)
+
+ 14 Mar 2013; Ole Markus With <olemarkus@gentoo.org> +files/xmlto.patch,
+ +metadata.xml, +rabbitmq-c-0.3.0.ebuild:
+ New package. Thanks to Travis Hansen. Bug 433503
diff --git a/net-libs/rabbitmq-c/Manifest b/net-libs/rabbitmq-c/Manifest
new file mode 100644
index 000000000000..ce378c9b77cd
--- /dev/null
+++ b/net-libs/rabbitmq-c/Manifest
@@ -0,0 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX xmlto.patch 682 SHA256 7944203338d64a8f8b576f238fd178e3fcc0ee7670092a281bc7af9501770621 SHA512 b295c3b4abf20631b638a06a80635a3bcc1cfc391a0206b32b69399b31dde5b537ba80b8abf1bc0c4022d5fe655791a0845900a42be670e9b2bad276937955c1 WHIRLPOOL cf4de433d6c649ff2038e7587c2bf9297edd681e2743aee58727db925c9eb7b7a9ee948901d9405da5ef1f6b8bc5404c7648835a478747b24fab05c389fe82f7
+DIST rabbitmq-c-v0.3.0.zip 156945 SHA256 77554c6d83c72af5248ad0179edd6fa227545d611159f3ad18e2ade5eb07a1b6 SHA512 8b05bb5847caae6e383de0aff0b5544cc44722da4af86b0c4670780e04de4cf8ee681ab848e44c16b082b8ea2025cec841b41703b0fe34747a81f53042f61050 WHIRLPOOL 3bd908f9fe454dcae6d5aa17c36a4d427cb5192a2bd31afc14b9fa1ae5b32f98b924a10dfc4958d09a7b1b98935e52039e0d0c46a5ae0f865f1903cb131c84bb
+EBUILD rabbitmq-c-0.3.0.ebuild 1022 SHA256 7627955ce8001ff394b01a2b347c631383e6121ca9b1683b2d8bf3445fca46ea SHA512 80179c1663367ee0516b787c2ded189979eda98f7b7f1dff14085a1abbedd88029269d451e292c3debbd110a9d8760fa5656f50be1d8e45a2123c7cde21b179b WHIRLPOOL 9451b89979248f573f53c8c4ac497660c129e36885d9f1f0f885f99ccc48ca64ca46585957747ee4f65d5614d5fe1d71e223bfbf6c3a5c9f8fc835f252501000
+MISC ChangeLog 415 SHA256 06c113ab29425865b80bbcf69754e745f6d67ee0f79ff9c2dfb59d2709fdcd31 SHA512 d5b802edbc7acd892a35c2278b32adbbd08006427bdd4d557ee1017c494c7671778a43201946d2cf1fee59168a446bfa47587a558f5f3638f1ef3b606e8f64af WHIRLPOOL 3d0eb1b1a32dde26e7a56a7fdd25a762a86317dd986421087bf177a9c5f069b5e0ace9a832a7a0b725b55bb9461680c8a9bb500651cab4725249d670d9932be8
+MISC metadata.xml 372 SHA256 1b26c0cdaeb05329b89f6724d64e2fae2105da24de006b5a33e2fd67da533c75 SHA512 1d2121d74165b1914751c7b7d14587420fe1098688363bf1834d774474fc9957bf38b493242e4ca690eea55f1de98a1e0856294d77c6dd029086d4b879b6e089 WHIRLPOOL 30c0752f3bec579329d775c03bd5d49bfa7a7ee25be80c6d655e24dc476ba98e811ebdd816b26c56c7b90cade43a3b321e6fdce204aeb45b63e212664bf49e91
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQF8BAEBCABmBQJRQhv/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyOEZEMjNGNzBENkE5N0Q2Q0ZFMkFDNDA2
+QkFCNEFFNUM0QTkyQkY1AAoJEGurSuXEqSv1j94H/0mD8Ntw6CF1QByNexST7zal
+Cy65sP1IhARhDMHLcLNKuvhDkE8wZaVOAUk/25YzKQR9lHpRwpo8Ba5Eyt/TUnnz
+hNNXICWKA1l7Wu2YVLxLiC6cP/xLo/VA2oJ+8z1dlfAWDXdBLwRaAkoPYBFFVF4d
++po3dRHt4cefUcPwHn6G5DpWI2HqnsiCqcvtDnxxBuUacGHXrVSC5bjoM70lWdpe
+7O/jaRiaR8/LS3mMIEbcXSS6gPE1zvHrnSBgcAzf9rkFG00eY/q5SPsuNUbbgAHB
+5eBSv0p/xY/Q/ipS8EBUM7SJLjlp9CgnjVJP92JW2//XVcYcTA4hVED3N+cHcLs=
+=7Hxb
+-----END PGP SIGNATURE-----
diff --git a/net-libs/rabbitmq-c/files/xmlto.patch b/net-libs/rabbitmq-c/files/xmlto.patch
new file mode 100644
index 000000000000..b1b97edd2edd
--- /dev/null
+++ b/net-libs/rabbitmq-c/files/xmlto.patch
@@ -0,0 +1,25 @@
+--- CMakeLists.txt.orig 2013-01-19 02:58:22.179338944 -0700
++++ CMakeLists.txt 2013-01-19 03:18:40.936984417 -0700
+@@ -49,6 +49,7 @@
+ include(CheckFunctionExists)
+ include(CheckLibraryExists)
+ include(CMakePushCheckState)
++include(FindXmlTo)
+
+ # Detect if we need to link against a socket library:
+ cmake_push_check_state()
+@@ -195,7 +196,13 @@
+ endif (REGENERATE_AMQP_FRAMING)
+
+ find_package(POPT)
+-find_package(XmlTo)
++
++set ( XmlTo_FOUND false )
++find_program ( XMLTO_EXECUTABLE NAMES xmlto
++ DOC "path to the xmlto docbook xslt frontend" )
++if ( XMLTO_EXECUTABLE )
++ set ( XmlTo_FOUND true )
++endif ( XMLTO_EXECUTABLE )
+
+ if (POPT_FOUND AND XmlTo_FOUND)
+ set(DO_DOCS ON)
diff --git a/net-libs/rabbitmq-c/metadata.xml b/net-libs/rabbitmq-c/metadata.xml
new file mode 100644
index 000000000000..3917af45bc58
--- /dev/null
+++ b/net-libs/rabbitmq-c/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>olemarkus@gentoo.org</email>
+ <name>Ole Markus With</name>
+ </maintainer>
+ <use>
+ <flag name='tools'>Builds cli tools to interact with brokers</flag>
+ </use>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.3.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.3.0.ebuild
new file mode 100644
index 000000000000..867286efe8bc
--- /dev/null
+++ b/net-libs/rabbitmq-c/rabbitmq-c-0.3.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rabbitmq-c/rabbitmq-c-0.3.0.ebuild,v 1.1 2013/03/14 18:50:36 olemarkus Exp $
+
+EAPI="5"
+
+inherit cmake-utils eutils multilib
+
+DESCRIPTION="RabbitMQ C client"
+HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/alanxz/rabbitmq-c.git"
+ KEYWORDS="-*"
+else
+ SRC_URI="https://github.com/alanxz/rabbitmq-c/archive/${PN}-v${PV}.zip"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="tools"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+DOCS=( "AUTHORS" "README.md" "THANKS" "TODO" )
+PATCHES=( "${FILESDIR}/xmlto.patch" )
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ git-2_src_unpack
+ else
+ unpack ${A}
+ mv ${PN}* ${P} || die
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use tools BUILD_TOOLS)
+ $(cmake-utils_use tools BUILD_TOOLS_DOCS)
+ )
+ cmake-utils_src_configure
+}