homebrew-core/Formula/hiredis.rb

15 lines
424 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Hiredis < Formula
homepage 'https://github.com/redis/hiredis'
url 'https://github.com/redis/hiredis/tarball/v0.11.0'
sha1 '26eb4459943530b4be66fd253c5c8f4dd86c2fa3'
def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
2011-03-18 17:30:47 +00:00
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
system "make", "install", "PREFIX=#{prefix}"
end
end