Skip to content

Commit b852775

Browse files
committed
Add rbx Formula.
1 parent 69589db commit b852775

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Formula/rbx.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
class Rbx < Formula
2+
desc "Rubinius Language Platform compiler and runtime"
3+
homepage "https://github.com/rubinius/rbx"
4+
url "https://github.com/rubinius/rbx/archive/refs/tags/v26.0.tar.gz"
5+
sha256 "5bbc588ff47ba6aed128a7bb947547de0bbf2587595a26928390c0ebaba4ce8d"
6+
license "BSD-3-Clause"
7+
8+
depends_on "build2" => :build
9+
depends_on "make" => [:build, :test]
10+
11+
def install
12+
system "make", "setup"
13+
system "make", "config"
14+
system "make", "build"
15+
16+
# Not in Makefile because installation specific
17+
system "b", "install", "config.install.root=#{prefix}"
18+
end
19+
20+
test do
21+
system "make", "test"
22+
end
23+
end

0 commit comments

Comments
 (0)