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>
22 lines
577 B
Ruby
22 lines
577 B
Ruby
require 'formula'
|
|
require 'hardware'
|
|
|
|
class Sbcl <Formula
|
|
if snow_leopard_64?
|
|
url 'http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.29/sbcl-1.0.29-x86_64-darwin-binary-r2.tar.bz2'
|
|
md5 '47c99c60ec44e57070807c0890ba1c90'
|
|
else
|
|
url 'http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.29/sbcl-1.0.29-x86-darwin-binary-r2.tar.bz2'
|
|
md5 '6e6b027a5fd05ef0c8faee30d89ffe54'
|
|
end
|
|
version '1.0.29'
|
|
homepage 'http://www.sbcl.org/'
|
|
|
|
skip_clean 'bin'
|
|
skip_clean 'lib'
|
|
|
|
def install
|
|
ENV['INSTALL_ROOT'] = prefix
|
|
system "sh install.sh"
|
|
end
|
|
end
|