summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2017-07-31 19:54:06 +0200
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-07-31 19:54:06 +0200
commit751f1d4fca666e27c426f49364d5e0a1f80db462 (patch)
treea369196f3f77004fe0fcb255f60d3588bdce075f
parent1f5ca90929e16848cbe862780d9b2c1236c7d339 (diff)
downloadspack-751f1d4fca666e27c426f49364d5e0a1f80db462.tar.gz
spack-751f1d4fca666e27c426f49364d5e0a1f80db462.tar.bz2
spack-751f1d4fca666e27c426f49364d5e0a1f80db462.tar.xz
spack-751f1d4fca666e27c426f49364d5e0a1f80db462.zip
ZeroMQ: C++ Headers (cppzmq) (#4841)
Adds the cppzmq library, adding a C++ API to ZeroMQ (libzmq). In order to find the autotools-build libzmq, this requires the upcoming cppzmq release (or development branch).
-rw-r--r--var/spack/repos/builtin/packages/cppzmq/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cppzmq/package.py b/var/spack/repos/builtin/packages/cppzmq/package.py
new file mode 100644
index 0000000000..3a51038b50
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cppzmq/package.py
@@ -0,0 +1,40 @@
+##############################################################################
+# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class Cppzmq(CMakePackage):
+ """C++ binding for 0MQ"""
+
+ homepage = "http://www.zeromq.org"
+ url = "https://github.com/zeromq/cppzmq/archive/v4.2.2.tar.gz"
+
+ version('develop', branch='master',
+ git='https://github.com/zeromq/cppzmq.git')
+
+ version('4.2.2', 'bd809b47296e77fe9f192bd9dafd5cc3')
+
+ depends_on('cmake@3.0.0:', type='build')
+ depends_on('zeromq@4.2.2')