homebrew-core/Formula/rock.rb

20 lines
566 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Rock < Formula
homepage 'http://ooc-lang.org'
2012-02-10 07:00:16 +00:00
url 'https://github.com/downloads/nddrylliog/rock/rock-0.9.3-source.tar.bz2'
sha1 'ddc00c7298198962781fd28a2cc4c65f7fb9ccd2'
2011-05-27 05:02:55 +00:00
head 'https://github.com/nddrylliog/rock.git'
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
2012-02-10 07:00:16 +00:00
prefix.install "rock.use", 'README.md', "sdk", "libs", "docs"
end
end