576185d345
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>
15 lines
434 B
Ruby
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
|