summaryrefslogtreecommitdiffstats
path: root/package/czmq/czmq.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/czmq/czmq.mk')
-rw-r--r--package/czmq/czmq.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/czmq/czmq.mk b/package/czmq/czmq.mk
new file mode 100644
index 000000000..2b34654fa
--- /dev/null
+++ b/package/czmq/czmq.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# czmq
+#
+#############################################################
+
+CZMQ_VERSION = cb9839cf90
+CZMQ_SITE = git://github.com/zeromq/czmq.git
+
+# Autoreconf required as we use the git tree
+CZMQ_AUTORECONF = YES
+CZMQ_INSTALL_STAGING = YES
+CZMQ_DEPENDENCIES = zeromq
+CZMQ_LICENSE = LGPLv3+ with exceptions
+CZMQ_LICENSE_FILES = COPYING COPYING.LESSER
+
+define CZMQ_CREATE_CONFIG_DIR
+ mkdir -p $(@D)/config
+endef
+
+CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR
+
+$(eval $(autotools-package))