summaryrefslogtreecommitdiff
path: root/homebrew/czmq
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/czmq')
-rw-r--r--homebrew/czmq/.beer51
-rw-r--r--homebrew/czmq/.make.sh-auto7
-rw-r--r--homebrew/czmq/_metadata/description1
-rw-r--r--homebrew/czmq/_metadata/homepage1
-rw-r--r--homebrew/czmq/_metadata/name1
-rw-r--r--homebrew/czmq/_metadata/version1
-rwxr-xr-xhomebrew/czmq/download.sh1
7 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/czmq/.beer b/homebrew/czmq/.beer
new file mode 100644
index 000000000..cd2c44bb9
--- /dev/null
+++ b/homebrew/czmq/.beer
@@ -0,0 +1,51 @@
+{
+ "name": "Czmq",
+ "description": "High-level C binding for ZeroMQ",
+ "url": "https://github.com/zeromq/czmq/releases/download/v4.2.0/czmq-4.2.0.tar.gz",
+ "mirror": null,
+ "homepage": "http://czmq.zeromq.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "asciidoc",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "xmlto",
+ "build-depend": true
+ },
+ {
+ "depend": "zeromq",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"ZSYS_INTERFACE=lo0\", \"check-verbose\"",
+ "system \"make\", \"install\"",
+ "rm Dir[\"#{bin}/*.gsl\"]"
+ ],
+ "version": "4.2.0",
+ "file": "czmq.rb"
+} \ No newline at end of file
diff --git a/homebrew/czmq/.make.sh-auto b/homebrew/czmq/.make.sh-auto
new file mode 100644
index 000000000..c1b29a58a
--- /dev/null
+++ b/homebrew/czmq/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+pkg:configure --disable-dependency-tracking
+make
+make ZSYS_INTERFACE=lo0 check-verbose
+make DESTDIR=${PKG_DEST} install
+rm Dir["#{bin}/*.gsl"]
diff --git a/homebrew/czmq/_metadata/description b/homebrew/czmq/_metadata/description
new file mode 100644
index 000000000..2efd03f7c
--- /dev/null
+++ b/homebrew/czmq/_metadata/description
@@ -0,0 +1 @@
+High-level C binding for ZeroMQ
diff --git a/homebrew/czmq/_metadata/homepage b/homebrew/czmq/_metadata/homepage
new file mode 100644
index 000000000..080e22700
--- /dev/null
+++ b/homebrew/czmq/_metadata/homepage
@@ -0,0 +1 @@
+http://czmq.zeromq.org/
diff --git a/homebrew/czmq/_metadata/name b/homebrew/czmq/_metadata/name
new file mode 100644
index 000000000..7c3fb4125
--- /dev/null
+++ b/homebrew/czmq/_metadata/name
@@ -0,0 +1 @@
+Czmq
diff --git a/homebrew/czmq/_metadata/version b/homebrew/czmq/_metadata/version
new file mode 100644
index 000000000..6aba2b245
--- /dev/null
+++ b/homebrew/czmq/_metadata/version
@@ -0,0 +1 @@
+4.2.0
diff --git a/homebrew/czmq/download.sh b/homebrew/czmq/download.sh
new file mode 100755
index 000000000..ab73f7d1d
--- /dev/null
+++ b/homebrew/czmq/download.sh
@@ -0,0 +1 @@
+wget https://github.com/zeromq/czmq/releases/download/v4.2.0/czmq-4.2.0.tar.gz \ No newline at end of file