diff options
Diffstat (limited to 'homebrew/redisat32/.make.sh-auto')
-rw-r--r-- | homebrew/redisat32/.make.sh-auto | 8 |
1 files changed, 8 insertions, 0 deletions
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! "\ |