2010-06-14 16:24:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Rock < Formula
|
2010-06-14 16:24:07 +00:00
|
|
|
homepage 'http://ooc-lang.org'
|
2013-11-27 16:02:02 +00:00
|
|
|
url 'https://github.com/nddrylliog/rock/archive/v0.9.8.tar.gz'
|
|
|
|
sha1 'e9c7f2352d53351b60485b27c70858a0ad5cddb3'
|
2012-12-15 15:45:55 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/nddrylliog/rock.git'
|
2010-06-14 16:24:07 +00:00
|
|
|
|
2013-05-23 22:01:04 +00:00
|
|
|
depends_on 'bdw-gc'
|
|
|
|
|
2010-06-14 16:24:07 +00:00
|
|
|
def install
|
|
|
|
# make rock using provided bootstrap
|
2013-11-27 16:02:02 +00:00
|
|
|
ENV['OOC_LIBS'] = prefix
|
2012-12-15 15:45:55 +00:00
|
|
|
system "make rescue"
|
2010-06-14 16:24:07 +00:00
|
|
|
bin.install 'bin/rock'
|
|
|
|
man1.install "docs/rock.1"
|
|
|
|
|
|
|
|
# install misc authorship files & rock binary in place
|
|
|
|
# copy the sdk, libs and docs
|
2012-02-10 07:00:16 +00:00
|
|
|
prefix.install "rock.use", 'README.md', "sdk", "libs", "docs"
|
2010-06-14 16:24:07 +00:00
|
|
|
end
|
|
|
|
end
|