Added rock the compiler for the ooc language http://ooc-lang.org

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Anthony Roja Buck 2010-06-14 17:24:07 +01:00 committed by Adam Vandenberg
parent aa263a2032
commit eb03b8710d

20
Formula/rock.rb Normal file
View file

@ -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