summaryrefslogtreecommitdiff
path: root/community/zeromq
diff options
context:
space:
mode:
Diffstat (limited to 'community/zeromq')
-rw-r--r--community/zeromq/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/zeromq/PKGBUILD b/community/zeromq/PKGBUILD
new file mode 100644
index 000000000..69869fc0a
--- /dev/null
+++ b/community/zeromq/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 92652 2013-06-10 15:20:40Z bpiotrowski $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+pkgname=zeromq
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="Fast messaging system built on sockets, C and C++ bindings. aka 0MQ, ZMQ."
+arch=('i686' 'x86_64')
+url="http://www.zeromq.org"
+license=('LGPL')
+depends=('gcc-libs' 'util-linux')
+makedepends=('python2')
+source=(http://download.zeromq.org/$pkgname-$pkgver.tar.gz
+ https://raw.github.com/zeromq/cppzmq/master/zmq.hpp)
+md5sums=('1abf8246363249baf5931a065ee38203'
+ '37805e6859ce1900041c9a2613936ec7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure prefix=/usr --with-pgm
+ sed -i 's/python$/&2/' foreign/openpgm/build-staging/openpgm/pgm/{Makefile,version_generator.py}
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/zmq.hpp" "$pkgdir/usr/include/zmq.hpp"
+}
+
+