homebrew-core/Formula/chicken.rb
Adam Vandenberg 576185d345 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00

15 lines
434 B
Ruby

require 'formula'
class Chicken <Formula
url 'http://www.call-with-current-continuation.org/chicken-4.4.0.tar.gz'
homepage 'http://www.call-with-current-continuation.org/'
md5 '598e7ea036807a67297c3e2bf4a454c4'
def install
ENV.deparallelize
settings = "PREFIX=#{prefix} PLATFORM=macosx"
settings << " ARCH=x86-64" if snow_leopard_64?
system "make #{settings}"
system "make install #{settings}"
end
end