homebrew-core/Formula/mruby.rb
BrewTestBot 8e59cadba6 mruby: update 1.0.0 bottle.
Closes Homebrew/homebrew#28835.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-30 18:59:22 -07:00

34 lines
755 B
Ruby

require "formula"
class Mruby < Formula
homepage "http://www.mruby.org"
url "https://github.com/mruby/mruby/archive/1.0.0.tar.gz"
sha1 "6d4cb1b3594b1c609cc3e39d458d2ff27e4f9b4d"
head "https://github.com/mruby/mruby.git"
bottle do
cellar :any
revision 1
sha1 "0c35394977329935628dbc4c104f2bb435ca6501" => :mavericks
sha1 "1205fd6c0d6ea2caff16e276e86b9b876ae354f6" => :mountain_lion
sha1 "d7c75455a7d02d97eaf0926ed70c5520848e13b4" => :lion
end
depends_on "bison" => :build
def install
system "make"
cd "build/host/" do
lib.install Dir["lib/*.a"]
prefix.install %w{bin mrbgems mrblib tools}
end
prefix.install "include"
end
test do
system "#{bin}/mruby", "-e", "true"
end
end