{ "name": "Redis", "description": "Persistent key-value database, with built-in net interface", "url": "http://download.redis.io/releases/redis-5.0.4.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.sub! /^bind .*$/, \"bind 127.0.0.1 ::1\"" ], "version": "5.0.4", "file": "redis.rb" }