haskell-platform 2013.2.0.0

Closes Homebrew/homebrew#20112.
This commit is contained in:
Mike McQuaid 2013-05-28 20:24:59 +01:00
parent c67a2fe380
commit 7443b67b2a

View file

@ -2,14 +2,16 @@ require 'formula'
class HaskellPlatform < Formula
homepage 'http://hackage.haskell.org/platform/'
url 'http://lambda.haskell.org/platform/download/2012.4.0.0/haskell-platform-2012.4.0.0.tar.gz'
sha1 '7976508c50305969f64c721a1d095ae22efff8b7'
url 'http://lambda.haskell.org/platform/download/2013.2.0.0/haskell-platform-2013.2.0.0.tar.gz'
sha1 '8669bb5add1826c0523fb130c095fb8bf23a30ce'
depends_on 'ghc'
conflicts_with 'cabal-install'
def install
# libdir doesn't work if passed to configure, needs to be set in the environment
system "./configure", "--prefix=#{prefix}", "--enable-unsupported-ghc-version"
system "./configure", "--prefix=#{prefix}"
ENV['EXTRA_CONFIGURE_OPTS'] = "--libdir=#{lib}/ghc"
system "make install"
end