summaryrefslogtreecommitdiff
path: root/net/rabbitmq-c
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-09-13 11:12:06 +0000
committerfhajny <fhajny@pkgsrc.org>2013-09-13 11:12:06 +0000
commit3c076b447fa43f421eed2423b688ef6f57a79c21 (patch)
tree1c754046a9d422cc0ddd9c3c01d69b2e4d9aabba /net/rabbitmq-c
parentd6d376415fd3fed566dd0f1b46c6637e323cee3d (diff)
downloadpkgsrc-3c076b447fa43f421eed2423b688ef6f57a79c21.tar.gz
Import net/rabbitmq-c.
C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.
Diffstat (limited to 'net/rabbitmq-c')
-rw-r--r--net/rabbitmq-c/DESCR1
-rw-r--r--net/rabbitmq-c/Makefile33
-rw-r--r--net/rabbitmq-c/PLIST20
-rw-r--r--net/rabbitmq-c/distinfo5
4 files changed, 59 insertions, 0 deletions
diff --git a/net/rabbitmq-c/DESCR b/net/rabbitmq-c/DESCR
new file mode 100644
index 00000000000..fbcdd9a80f7
--- /dev/null
+++ b/net/rabbitmq-c/DESCR
@@ -0,0 +1 @@
+C-language AMQP client library for use with v2.0+ of the RabbitMQ broker
diff --git a/net/rabbitmq-c/Makefile b/net/rabbitmq-c/Makefile
new file mode 100644
index 00000000000..fc6564f8f2d
--- /dev/null
+++ b/net/rabbitmq-c/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2013/09/13 11:12:06 fhajny Exp $
+#
+
+DISTNAME= rabbitmq-c-0.4.1
+CATEGORIES= net
+MASTER_SITES= https://github.com/alanxz/rabbitmq-c/releases/download/v${PKGVERSION_NOREV}/
+FETCH_USING= curl
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= https://github.com/alanxz/rabbitmq-c
+COMMENT= C-language AMQP client library for use with AMQP servers
+LICENSE= mit
+
+BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+
+USE_CMAKE= yes
+USE_LANGUAGES+= c99
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= man
+SUBST_STAGE.man= pre-build
+SUBST_MESSAGE.man= Fix man installation path
+SUBST_FILES.man= tools/CMakeLists.txt
+SUBST_SED.man= -e 's,share/man,${PKGMANDIR},'
+
+CMAKE_ARGS+= -DBUILD_TOOLS=ON
+CMAKE_ARGS+= -DBUILD_TOOLS_DOCS=ON
+CMAKE_ARGS+= -DENABLE_SSL_SUPPORT=ON
+
+.include "../../devel/popt/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/rabbitmq-c/PLIST b/net/rabbitmq-c/PLIST
new file mode 100644
index 00000000000..3439aaccb41
--- /dev/null
+++ b/net/rabbitmq-c/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/13 11:12:06 fhajny Exp $
+bin/amqp-consume
+bin/amqp-declare-queue
+bin/amqp-delete-queue
+bin/amqp-get
+bin/amqp-publish
+include/amqp.h
+include/amqp_framing.h
+include/amqp_ssl_socket.h
+include/amqp_tcp_socket.h
+lib/librabbitmq.so
+lib/librabbitmq.so.1
+lib/librabbitmq.so.1.1.1
+lib/pkgconfig/librabbitmq.pc
+man/man1/amqp-consume.1
+man/man1/amqp-declare-queue.1
+man/man1/amqp-delete-queue.1
+man/man1/amqp-get.1
+man/man1/amqp-publish.1
+man/man7/librabbitmq-tools.7
diff --git a/net/rabbitmq-c/distinfo b/net/rabbitmq-c/distinfo
new file mode 100644
index 00000000000..3b8c2017445
--- /dev/null
+++ b/net/rabbitmq-c/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/13 11:12:06 fhajny Exp $
+
+SHA1 (rabbitmq-c-0.4.1.tar.gz) = 46bdf023fac9f273ffa6c7467de8334ab3d3c028
+RMD160 (rabbitmq-c-0.4.1.tar.gz) = eb41666ed70462d4d1b357c547445d15eb5e3e57
+Size (rabbitmq-c-0.4.1.tar.gz) = 471413 bytes