summaryrefslogtreecommitdiff
path: root/community/zeromq/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/zeromq/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/zeromq/PKGBUILD')
-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"
+}
+
+