homebrew-core/Formula/cabal-install.rb

19 lines
489 B
Ruby
Raw Normal View History

require 'formula'
class CabalInstall < Formula
homepage 'http://www.haskell.org/haskellwiki/Cabal-Install'
2013-05-28 19:24:50 +00:00
url 'http://hackage.haskell.org/packages/archive/cabal-install/1.16.0.2/cabal-install-1.16.0.2.tar.gz'
sha1 'd85cba298302b9c426fedd6d8e4c892343ca70ea'
depends_on 'ghc'
2013-05-28 19:24:50 +00:00
conflicts_with 'haskell-platform'
def install
ENV['PREFIX'] = "#{prefix}"
2013-05-28 19:24:50 +00:00
ENV.delete('VERBOSE')
system 'sh', 'bootstrap.sh'
2013-05-03 18:03:31 +00:00
bash_completion.install 'bash-completion/cabal'
end
end