aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cabal-install.rb
diff options
context:
space:
mode:
authorMiëtek Bak2011-08-13 07:11:05 +0100
committerAdam Vandenberg2011-08-13 09:47:57 -0700
commit40b889c53d4407dcef5012331edad1dd8d508a36 (patch)
tree5eb3e8d8753949bb5f0dc763f4c61b65c359556a /Library/Formula/cabal-install.rb
parent0f6a86961ffb696e15ef1de9aea3d894943983c1 (diff)
downloadhomebrew-40b889c53d4407dcef5012331edad1dd8d508a36.tar.bz2
cabal-install 0.10.2
The cabal-install package provides the cabal command-line tool which simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/cabal-install.rb')
-rw-r--r--Library/Formula/cabal-install.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/cabal-install.rb b/Library/Formula/cabal-install.rb
new file mode 100644
index 000000000..5f218aa16
--- /dev/null
+++ b/Library/Formula/cabal-install.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class CabalInstall < Formula
+ homepage 'http://www.haskell.org/haskellwiki/Cabal-Install'
+ url 'http://www.haskell.org/cabal/release/cabal-install-0.10.2/cabal-install-0.10.2.tar.gz'
+ md5 'bc906ef0bed79cbb33fdb36b73514281'
+
+ depends_on 'ghc'
+
+ def install
+ ENV['PREFIX'] = "#{prefix}"
+ system "sh bootstrap.sh"
+ end
+end