Files
tigerbrew/Library/Formula/hiredis.rb
T
Andrew Janke 174acd649c Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes #18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

15 lines
431 B
Ruby

require 'formula'
class Hiredis < Formula
homepage 'https://github.com/redis/hiredis'
url 'https://github.com/redis/hiredis/archive/v0.11.0.tar.gz'
sha1 '694b6d7a6e4ea7fb20902619e9a2423c014b37c1'
def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
system "make", "install", "PREFIX=#{prefix}"
end
end