aboutsummaryrefslogtreecommitdiff
path: root/examples/zeromq
diff options
context:
space:
mode:
Diffstat (limited to 'examples/zeromq')
-rw-r--r--examples/zeromq/Makefile32
-rw-r--r--examples/zeromq/zeromq.p5m51
2 files changed, 83 insertions, 0 deletions
diff --git a/examples/zeromq/Makefile b/examples/zeromq/Makefile
new file mode 100644
index 0000000..5b20f6d
--- /dev/null
+++ b/examples/zeromq/Makefile
@@ -0,0 +1,32 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+#include /usr/share/cibs/rules/patch.mk
+#include /usr/share/cibs/rules/autoreconf.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
+include /usr/share/cibs/rules/64.mk
+
+
+summary := The ZeroMQ messaging library
+license := LGPL
+license-file := COPYING.LESSER
+
+build-depends += \
+ pkg:/library/libpgm
+
+#/usr/gcc/4.3/bin/gcc -m32 -luuid -o test
+#ld: warning: file libdladm.so.1: required by /usr/lib/libdlpi.so.1, not found
+configure-env += LDFLAGS="-L/lib"
+
+configure-options += --with-system-pgm
+
+home := http://www.zeromq.org
+name := zeromq
+version := 2.2.0
+archive := $(name)-$(version).tar.gz
+download := http://download.zeromq.org/$(archive)
+checksum := \
+ md5:1b11aae09b19d18276d0717b2ea288f6 \
+ sha1:e4bc024c33d3e62f658640625e061ce4e8bd1ff1 \
+ sha256:43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637 \
+ size:1900378
diff --git a/examples/zeromq/zeromq.p5m b/examples/zeromq/zeromq.p5m
new file mode 100644
index 0000000..7b6e20b
--- /dev/null
+++ b/examples/zeromq/zeromq.p5m
@@ -0,0 +1,51 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license
+# at http://www.opensource.org/licenses/CDDL-1.0
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each file.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright (C) 2012, Nexenta Systems, Inc. All rights reserved.
+#
+
+
+set name=pkg.fmri value=pkg:/library/libzmq@$(ips_version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+license $(license-file) license="$(license)"
+
+dir path=usr
+dir path=usr/include
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+dir path=usr/lib/$(MACH64)/pkgconfig
+dir path=usr/lib/pkgconfig
+dir path=usr/share
+dir path=usr/share/man
+dir path=usr/share/man/man3
+dir path=usr/share/man/man7
+file path=usr/include/zmq.h
+file path=usr/include/zmq.hpp
+file path=usr/include/zmq_utils.h
+file path=usr/lib/$(MACH64)/libzmq.so.1.0.1
+file path=usr/lib/$(MACH64)/pkgconfig/libzmq.pc
+file path=usr/lib/libzmq.so.1.0.1
+file path=usr/lib/pkgconfig/libzmq.pc
+link path=usr/lib/$(MACH64)/libzmq.so target=libzmq.so.1.0.1
+link path=usr/lib/$(MACH64)/libzmq.so.1 target=libzmq.so.1.0.1
+link path=usr/lib/libzmq.so target=libzmq.so.1.0.1
+link path=usr/lib/libzmq.so.1 target=libzmq.so.1.0.1