summaryrefslogtreecommitdiff
path: root/homebrew/tarantool
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/tarantool')
-rw-r--r--homebrew/tarantool/.beer37
-rw-r--r--homebrew/tarantool/.make.sh-auto6
-rw-r--r--homebrew/tarantool/_metadata/description1
-rw-r--r--homebrew/tarantool/_metadata/homepage1
-rw-r--r--homebrew/tarantool/_metadata/name1
-rw-r--r--homebrew/tarantool/_metadata/version1
-rwxr-xr-xhomebrew/tarantool/download.sh1
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/tarantool/.beer b/homebrew/tarantool/.beer
new file mode 100644
index 000000000..cbe3ad575
--- /dev/null
+++ b/homebrew/tarantool/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Tarantool",
+ "description": "In-memory database and Lua application server",
+ "url": "https://download.tarantool.org/tarantool/1.10/src/tarantool-1.10.2.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://tarantool.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "icu4c",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "local_user = ENV[\"USER\"]",
+ "inreplace etc/\"default/tarantool\", /(username\\s*=).*/, \"\\\\1 '#{local_user}'\"",
+ "(var/\"lib/tarantool\").mkpath",
+ "(var/\"log/tarantool\").mkpath",
+ "(var/\"run/tarantool\").mkpath"
+ ],
+ "version": "1.10.2.1",
+ "file": "tarantool.rb"
+} \ No newline at end of file
diff --git a/homebrew/tarantool/.make.sh-auto b/homebrew/tarantool/.make.sh-auto
new file mode 100644
index 000000000..61fba1e82
--- /dev/null
+++ b/homebrew/tarantool/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+local_user = ENV["USER"]
+inreplace etc/"default/tarantool", /(username\s*=).*/, "\\1 '#{local_user}'"
+(var/"lib/tarantool").mkpath
+(var/"log/tarantool").mkpath
+(var/"run/tarantool").mkpath
diff --git a/homebrew/tarantool/_metadata/description b/homebrew/tarantool/_metadata/description
new file mode 100644
index 000000000..a13a7ce87
--- /dev/null
+++ b/homebrew/tarantool/_metadata/description
@@ -0,0 +1 @@
+In-memory database and Lua application server
diff --git a/homebrew/tarantool/_metadata/homepage b/homebrew/tarantool/_metadata/homepage
new file mode 100644
index 000000000..eba75320b
--- /dev/null
+++ b/homebrew/tarantool/_metadata/homepage
@@ -0,0 +1 @@
+https://tarantool.org/
diff --git a/homebrew/tarantool/_metadata/name b/homebrew/tarantool/_metadata/name
new file mode 100644
index 000000000..8f0c45e2b
--- /dev/null
+++ b/homebrew/tarantool/_metadata/name
@@ -0,0 +1 @@
+Tarantool
diff --git a/homebrew/tarantool/_metadata/version b/homebrew/tarantool/_metadata/version
new file mode 100644
index 000000000..3f675a5a3
--- /dev/null
+++ b/homebrew/tarantool/_metadata/version
@@ -0,0 +1 @@
+1.10.2.1
diff --git a/homebrew/tarantool/download.sh b/homebrew/tarantool/download.sh
new file mode 100755
index 000000000..47c7c92cc
--- /dev/null
+++ b/homebrew/tarantool/download.sh
@@ -0,0 +1 @@
+wget https://download.tarantool.org/tarantool/1.10/src/tarantool-1.10.2.1.tar.gz \ No newline at end of file