2010-06-14 16:24:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Rock < Formula
|
2011-09-08 19:29:40 +00:00
|
|
|
url 'https://github.com/downloads/nddrylliog/rock/rock-0.9.2-source.tar.bz2'
|
2010-06-14 16:24:07 +00:00
|
|
|
homepage 'http://ooc-lang.org'
|
2011-09-08 19:29:40 +00:00
|
|
|
md5 '8e3afbd3e31b977930692ee781e84529'
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/nddrylliog/rock.git'
|
2010-06-14 16:24:07 +00:00
|
|
|
|
2011-09-11 03:39:25 +00:00
|
|
|
fails_with_llvm "Fails in function 'AO_test_and_set_full' with an 'unsupported inline asm' error"
|
|
|
|
|
2010-06-14 16:24:07 +00:00
|
|
|
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
|
2011-09-08 19:29:40 +00:00
|
|
|
prefix.install ['rock.use', 'README.md', "sdk", "libs", "docs"]
|
2010-06-14 16:24:07 +00:00
|
|
|
end
|
|
|
|
end
|