aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Roja Buck2010-06-14 17:24:07 +0100
committerAdam Vandenberg2010-06-15 10:50:30 -0700
commit0e2d66bbd1bd0388fb297b4c31b3d57ecb9cc7b4 (patch)
tree27314b58439d445f24d8a66d1d2292bf4e68a41e
parent3ef76e9ea9230e1a8a8f2b724a090538cfa912eb (diff)
downloadhomebrew-0e2d66bbd1bd0388fb297b4c31b3d57ecb9cc7b4.tar.bz2
Added rock the compiler for the ooc language http://ooc-lang.org
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/rock.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/rock.rb b/Library/Formula/rock.rb
new file mode 100644
index 000000000..1ea2ca3cf
--- /dev/null
+++ b/Library/Formula/rock.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Rock <Formula
+ url 'http://github.com/downloads/nddrylliog/rock/rock-0.9.1-source.tar.bz2'
+ homepage 'http://ooc-lang.org'
+ md5 '66c35a7d9271732790f08a4839cee287'
+ head 'git://github.com/nddrylliog/rock.git'
+ aka 'ooc'
+
+ def install
+ # make rock using provided bootstrap
+ system "make"
+ bin.install 'bin/rock'
+ man1.install "docs/rock.1"
+
+ # install misc authorship files & rock binary in place
+ # copy the sdk, libs and docs
+ prefix.install ['rock.use', 'README.rst', "sdk", "libs", "docs"]
+ end
+end