summaryrefslogtreecommitdiff
path: root/homebrew/redisat32
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/redisat32')
-rw-r--r--homebrew/redisat32/.beer22
-rw-r--r--homebrew/redisat32/.make.sh-auto8
-rw-r--r--homebrew/redisat32/_metadata/description1
-rw-r--r--homebrew/redisat32/_metadata/homepage1
-rw-r--r--homebrew/redisat32/_metadata/name1
-rw-r--r--homebrew/redisat32/_metadata/version1
-rwxr-xr-xhomebrew/redisat32/download.sh1
7 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/redisat32/.beer b/homebrew/redisat32/.beer
new file mode 100644
index 000000000..69cf1b698
--- /dev/null
+++ b/homebrew/redisat32/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "RedisAT32",
+ "description": "Persistent key-value database, with built-in net interface",
+ "url": "http://download.redis.io/releases/redis-3.2.13.tar.gz",
+ "mirror": null,
+ "homepage": "https://redis.io/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"OBJARCH\"] = \"-arch #{MacOS.preferred_arch}\"",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\", \"CC=#{ENV.cc}\"",
+ "%w[run db/redis log].each { |p| (var/p).mkpath }",
+ "inreplace \"redis.conf\" do |s|",
+ "s.gsub! \"/var/run/redis.pid\", var/\"run/redis.pid\"",
+ "s.gsub! \"dir ./\", \"dir #{var}/db/redis/\"",
+ "s.gsub! \"\\"
+ ],
+ "version": "3.2.13",
+ "file": "redis@3.2.rb"
+} \ No newline at end of file
diff --git a/homebrew/redisat32/.make.sh-auto b/homebrew/redisat32/.make.sh-auto
new file mode 100644
index 000000000..bf2b75224
--- /dev/null
+++ b/homebrew/redisat32/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV["OBJARCH"] = "-arch #{MacOS.preferred_arch}"
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF} CC=${PKG_TARG}-clang
+%w[run db/redis log].each { |p| (var/p).mkpath }
+inreplace "redis.conf" do |s|
+s.gsub! "/var/run/redis.pid", var/"run/redis.pid"
+s.gsub! "dir ./", "dir #{var}/db/redis/"
+s.gsub! "\
diff --git a/homebrew/redisat32/_metadata/description b/homebrew/redisat32/_metadata/description
new file mode 100644
index 000000000..5edbce4c9
--- /dev/null
+++ b/homebrew/redisat32/_metadata/description
@@ -0,0 +1 @@
+Persistent key-value database, with built-in net interface
diff --git a/homebrew/redisat32/_metadata/homepage b/homebrew/redisat32/_metadata/homepage
new file mode 100644
index 000000000..22585e7bb
--- /dev/null
+++ b/homebrew/redisat32/_metadata/homepage
@@ -0,0 +1 @@
+https://redis.io/
diff --git a/homebrew/redisat32/_metadata/name b/homebrew/redisat32/_metadata/name
new file mode 100644
index 000000000..c9e09d9e6
--- /dev/null
+++ b/homebrew/redisat32/_metadata/name
@@ -0,0 +1 @@
+RedisAT32
diff --git a/homebrew/redisat32/_metadata/version b/homebrew/redisat32/_metadata/version
new file mode 100644
index 000000000..d883a1005
--- /dev/null
+++ b/homebrew/redisat32/_metadata/version
@@ -0,0 +1 @@
+3.2.13
diff --git a/homebrew/redisat32/download.sh b/homebrew/redisat32/download.sh
new file mode 100755
index 000000000..43ffc742a
--- /dev/null
+++ b/homebrew/redisat32/download.sh
@@ -0,0 +1 @@
+wget http://download.redis.io/releases/redis-3.2.13.tar.gz \ No newline at end of file