homebrew-core/Formula/sbcl.rb
Martin Kühl 4cd6eb837f Fixes for sbcl:
* Install 64bit binaries on 64bit systems.
* Don't strip the image under `lib`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-21 19:55:41 -07:00

23 lines
713 B
Ruby

require 'formula'
require 'hardware'
class Sbcl <Formula
if MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
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'
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