homebrew-core/Formula/haskell-platform.rb
Aku Kotkavuo 221e24ea7a Update haskell-platform to 2010.2.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-25 19:09:02 -07:00

26 lines
839 B
Ruby

require 'formula'
class HaskellPlatform <Formula
url 'http://hackage.haskell.org/platform/2010.2.0.0/haskell-platform-2010.2.0.0.tar.gz'
homepage 'http://hackage.haskell.org/platform/'
md5 '9d1dd22a86bf2505591e6375f7dbe18e'
version '2010.2.0.0'
depends_on 'ghc'
def install
# libdir doesn't work if passed to configure, needs to be passed to make install
system "./configure", "--prefix=#{prefix}"
system %Q(EXTRA_CONFIGURE_OPTS="--libdir=#{lib}/ghc" make install)
end
def caveats; <<-EOS.undent
Run `cabal update` to initialize the package list.
If you are trying to upgrade from a previous version of haskell-platform,
you may need to delete .conf files from:
~/.ghc/i386-darwin-6.12.3/package.conf.d
that reference the previous version of haskell-platform first!
EOS
end
end