summaryrefslogtreecommitdiff
path: root/homebrew/flatbuffers
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/flatbuffers')
-rw-r--r--homebrew/flatbuffers/.beer22
-rw-r--r--homebrew/flatbuffers/.make.sh-auto3
-rw-r--r--homebrew/flatbuffers/_metadata/description1
-rw-r--r--homebrew/flatbuffers/_metadata/homepage1
-rw-r--r--homebrew/flatbuffers/_metadata/name1
-rw-r--r--homebrew/flatbuffers/_metadata/version1
-rwxr-xr-xhomebrew/flatbuffers/download.sh1
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/flatbuffers/.beer b/homebrew/flatbuffers/.beer
new file mode 100644
index 000000000..51fc7e46d
--- /dev/null
+++ b/homebrew/flatbuffers/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "Flatbuffers",
+ "description": "Serialization library for C++, supporting Java, C#, and Go",
+ "url": "https://github.com/google/flatbuffers/archive/v1.10.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://google.github.io/flatbuffers",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \"-G\", \"Unix Makefiles\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.10.0",
+ "file": "flatbuffers.rb"
+} \ No newline at end of file
diff --git a/homebrew/flatbuffers/.make.sh-auto b/homebrew/flatbuffers/.make.sh-auto
new file mode 100644
index 000000000..426f4e183
--- /dev/null
+++ b/homebrew/flatbuffers/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+cmake -G Unix Makefiles -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/flatbuffers/_metadata/description b/homebrew/flatbuffers/_metadata/description
new file mode 100644
index 000000000..fe156ffe2
--- /dev/null
+++ b/homebrew/flatbuffers/_metadata/description
@@ -0,0 +1 @@
+Serialization library for C++, supporting Java, C#, and Go
diff --git a/homebrew/flatbuffers/_metadata/homepage b/homebrew/flatbuffers/_metadata/homepage
new file mode 100644
index 000000000..ca9c5f52f
--- /dev/null
+++ b/homebrew/flatbuffers/_metadata/homepage
@@ -0,0 +1 @@
+https://google.github.io/flatbuffers
diff --git a/homebrew/flatbuffers/_metadata/name b/homebrew/flatbuffers/_metadata/name
new file mode 100644
index 000000000..2f5ef0f6d
--- /dev/null
+++ b/homebrew/flatbuffers/_metadata/name
@@ -0,0 +1 @@
+Flatbuffers
diff --git a/homebrew/flatbuffers/_metadata/version b/homebrew/flatbuffers/_metadata/version
new file mode 100644
index 000000000..81c871de4
--- /dev/null
+++ b/homebrew/flatbuffers/_metadata/version
@@ -0,0 +1 @@
+1.10.0
diff --git a/homebrew/flatbuffers/download.sh b/homebrew/flatbuffers/download.sh
new file mode 100755
index 000000000..2abc40372
--- /dev/null
+++ b/homebrew/flatbuffers/download.sh
@@ -0,0 +1 @@
+wget https://github.com/google/flatbuffers/archive/v1.10.0.tar.gz \ No newline at end of file