Update haskell-platform to 2010.2.0.0

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Aku Kotkavuo 2010-07-23 03:56:31 +03:00 committed by Adam Vandenberg
parent 5149bec081
commit 221e24ea7a

View file

@ -1,17 +1,16 @@
require 'formula'
class HaskellPlatform <Formula
url 'http://hackage.haskell.org/platform/2010.1.0.0/haskell-platform-2010.1.0.0.tar.gz'
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 'ad96a12535b955f2f5e11769b02e0f76'
version '2010.1.0.0'
md5 '9d1dd22a86bf2505591e6375f7dbe18e'
version '2010.2.0.0'
depends_on 'ghc'
def install
# haskell-platform expects 6.12.1 but we have 6.12.3, so force the issue.
# libdir doesn't work if passed to configure, needs to be passed to make install
system "./configure", "--prefix=#{prefix}", "--enable-unsupported-ghc-version"
system "./configure", "--prefix=#{prefix}"
system %Q(EXTRA_CONFIGURE_OPTS="--libdir=#{lib}/ghc" make install)
end