summaryrefslogtreecommitdiff
path: root/homebrew/supersonic
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/supersonic')
-rw-r--r--homebrew/supersonic/.beer44
-rw-r--r--homebrew/supersonic/.make.sh-auto7
-rw-r--r--homebrew/supersonic/_metadata/description1
-rw-r--r--homebrew/supersonic/_metadata/homepage1
-rw-r--r--homebrew/supersonic/_metadata/name1
-rw-r--r--homebrew/supersonic/_metadata/version1
-rwxr-xr-xhomebrew/supersonic/download.sh1
7 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/supersonic/.beer b/homebrew/supersonic/.beer
new file mode 100644
index 000000000..a907bdb87
--- /dev/null
+++ b/homebrew/supersonic/.beer
@@ -0,0 +1,44 @@
+{
+ "name": "Supersonic",
+ "description": "C++ library providing a column oriented query engine",
+ "url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/supersonic/supersonic-0.9.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://code.google.com/archive/p/supersonic/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "gflags",
+ "build-depend": false
+ },
+ {
+ "depend": "glog",
+ "build-depend": false
+ },
+ {
+ "depend": "protobuf@3.1",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "ENV[\"GFLAGS_CFLAGS\"] = \"-I#{Formula[\"gflags\"].opt_include}\"",
+ "ENV[\"GFLAGS_LIBS\"] = \"-L#{Formula[\"gflags\"].opt_lib} -lgflags\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-re2\"",
+ "system \"make\", \"clean\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.9.4",
+ "file": "supersonic.rb"
+} \ No newline at end of file
diff --git a/homebrew/supersonic/.make.sh-auto b/homebrew/supersonic/.make.sh-auto
new file mode 100644
index 000000000..c4c63302e
--- /dev/null
+++ b/homebrew/supersonic/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+ENV["GFLAGS_CFLAGS"] = "-I#{Formula["gflags"].opt_include}"
+ENV["GFLAGS_LIBS"] = "-L#{Formula["gflags"].opt_lib} -lgflags"
+pkg:configure --disable-dependency-tracking --without-re2
+make clean
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/supersonic/_metadata/description b/homebrew/supersonic/_metadata/description
new file mode 100644
index 000000000..248dd4387
--- /dev/null
+++ b/homebrew/supersonic/_metadata/description
@@ -0,0 +1 @@
+C++ library providing a column oriented query engine
diff --git a/homebrew/supersonic/_metadata/homepage b/homebrew/supersonic/_metadata/homepage
new file mode 100644
index 000000000..24e7ff49b
--- /dev/null
+++ b/homebrew/supersonic/_metadata/homepage
@@ -0,0 +1 @@
+https://code.google.com/archive/p/supersonic/
diff --git a/homebrew/supersonic/_metadata/name b/homebrew/supersonic/_metadata/name
new file mode 100644
index 000000000..4af1b5059
--- /dev/null
+++ b/homebrew/supersonic/_metadata/name
@@ -0,0 +1 @@
+Supersonic
diff --git a/homebrew/supersonic/_metadata/version b/homebrew/supersonic/_metadata/version
new file mode 100644
index 000000000..a602fc9e2
--- /dev/null
+++ b/homebrew/supersonic/_metadata/version
@@ -0,0 +1 @@
+0.9.4
diff --git a/homebrew/supersonic/download.sh b/homebrew/supersonic/download.sh
new file mode 100755
index 000000000..1c9e0bdcf
--- /dev/null
+++ b/homebrew/supersonic/download.sh
@@ -0,0 +1 @@
+wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/supersonic/supersonic-0.9.4.tar.gz \ No newline at end of file