homebrew-core/Formula/chicken.rb
richo 4b009790ac chicken 4.8.0.1
Closes Homebrew/homebrew#17157.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-17 20:25:17 -08:00

18 lines
527 B
Ruby

require 'formula'
class Chicken < Formula
homepage 'http://www.call-cc.org/'
url 'http://code.call-cc.org/releases/4.8.0/chicken-4.8.0.1.tar.gz'
sha1 '3db001f2533af9b50399384f50a02ed67f74c4d7'
head 'git://code.call-cc.org/chicken-core'
def install
ENV.deparallelize
# Chicken uses a non-standard var. for this
args = ["PREFIX=#{prefix}", "PLATFORM=macosx", "C_COMPILER=#{ENV.cc}"]
args << "ARCH=x86-64" if MacOS.prefer_64_bit?
system "make", *args
system "make", "install", *args
end
end