homebrew-core/Formula/hiredis.rb

15 lines
410 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/archive/v0.11.0.tar.gz'
sha1 '694b6d7a6e4ea7fb20902619e9a2423c014b37c1'
def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = "-arch #{MacOS.preferred_arch}"
system "make", "install", "PREFIX=#{prefix}"
end
end