summaryrefslogtreecommitdiff
path: root/homebrew/nng
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/nng')
-rw-r--r--homebrew/nng/.beer32
-rw-r--r--homebrew/nng/.make.sh-auto5
-rw-r--r--homebrew/nng/_metadata/description1
-rw-r--r--homebrew/nng/_metadata/homepage1
-rw-r--r--homebrew/nng/_metadata/name1
-rw-r--r--homebrew/nng/_metadata/version1
-rwxr-xr-xhomebrew/nng/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/nng/.beer b/homebrew/nng/.beer
new file mode 100644
index 000000000..682357930
--- /dev/null
+++ b/homebrew/nng/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Nng",
+ "description": "Nanomsg-next-generation -- light-weight brokerless messaging",
+ "url": "https://github.com/nanomsg/nng/archive/v1.1.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://nanomsg.github.io/nng/",
+ "depends": [
+ {
+ "depend": "asciidoctor",
+ "build-depend": true
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "ninja",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", \"-GNinja\", \"-DNNG_ENABLE_DOC=ON\", \"-DBUILD_SHARED_LIBS=ON\", *std_cmake_args",
+ "system \"ninja\"",
+ "system \"ninja\", \"install\""
+ ],
+ "version": "1.1.1",
+ "file": "nng.rb"
+} \ No newline at end of file
diff --git a/homebrew/nng/.make.sh-auto b/homebrew/nng/.make.sh-auto
new file mode 100644
index 000000000..8b63cf45b
--- /dev/null
+++ b/homebrew/nng/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -GNinja -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+ninja
+ninja install
diff --git a/homebrew/nng/_metadata/description b/homebrew/nng/_metadata/description
new file mode 100644
index 000000000..fc86c490b
--- /dev/null
+++ b/homebrew/nng/_metadata/description
@@ -0,0 +1 @@
+Nanomsg-next-generation -- light-weight brokerless messaging
diff --git a/homebrew/nng/_metadata/homepage b/homebrew/nng/_metadata/homepage
new file mode 100644
index 000000000..52c6ead9e
--- /dev/null
+++ b/homebrew/nng/_metadata/homepage
@@ -0,0 +1 @@
+https://nanomsg.github.io/nng/
diff --git a/homebrew/nng/_metadata/name b/homebrew/nng/_metadata/name
new file mode 100644
index 000000000..ae2532d13
--- /dev/null
+++ b/homebrew/nng/_metadata/name
@@ -0,0 +1 @@
+Nng
diff --git a/homebrew/nng/_metadata/version b/homebrew/nng/_metadata/version
new file mode 100644
index 000000000..524cb5524
--- /dev/null
+++ b/homebrew/nng/_metadata/version
@@ -0,0 +1 @@
+1.1.1
diff --git a/homebrew/nng/download.sh b/homebrew/nng/download.sh
new file mode 100755
index 000000000..4b29f1e64
--- /dev/null
+++ b/homebrew/nng/download.sh
@@ -0,0 +1 @@
+wget https://github.com/nanomsg/nng/archive/v1.1.1.tar.gz \ No newline at end of file