aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/chicken.rb
blob: dc9d33c55aee6733059b4df76ee5583c9ab62021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Chicken <Formula
  url 'http://code.call-cc.org/releases/4.6.0/chicken-4.6.0.tar.gz'
  md5 '538a93e786e550ad848a040bcd902184'
  homepage 'http://www.call-cc.org/'
  head 'git://code.call-cc.org/chicken-core'

  def install
    ENV.deparallelize
    args = ["PREFIX=#{prefix}", "PLATFORM=macosx"]
    args << "ARCH=x86-64" if snow_leopard_64?
    system "make", *args
    system "make", "install", *args
  end
end