aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authormyfreeweb2011-01-27 17:40:04 +0300
committerMike McQuaid2011-02-12 13:52:35 +0000
commit369e17b1b440e752e5027cb8e63dbb8cabba2461 (patch)
tree05f3a6f767e2409713b38455ab99a9f910c24487 /Library
parent299ce61936a34c69707a3677d01fd45c5edbb726 (diff)
downloadhomebrew-369e17b1b440e752e5027cb8e63dbb8cabba2461.tar.bz2
Added a formula for the Nimrod compiler
Closes #4041. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nimrod.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/nimrod.rb b/Library/Formula/nimrod.rb
new file mode 100644
index 000000000..31634bef2
--- /dev/null
+++ b/Library/Formula/nimrod.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Nimrod < Formula
+ url 'http://force7.de/nimrod/download/nimrod_0.8.10.zip'
+ head 'git://github.com/Araq/Nimrod.git'
+ homepage 'http://force7.de/nimrod/'
+ md5 'b32d08ff40d2e17eda39a3c1f1bc39f9'
+
+ def install
+ system "/bin/sh", "./build.sh"
+ inreplace 'install.sh', '$1/nimrod', '$1'
+ system "/bin/sh", "./install.sh", prefix
+ end
+end