f801a21305
Closes Homebrew/homebrew#45137. Signed-off-by: Andrew Janke <andrew@apjanke.net>
18 lines
531 B
Ruby
18 lines
531 B
Ruby
class ElixirBuild < Formula
|
|
desc "Elixir version of ruby-build"
|
|
homepage "https://github.com/mururu/elixir-build"
|
|
url "https://github.com/mururu/elixir-build/archive/v20141001.tar.gz"
|
|
sha256 "825637780a580b7ebe8c5265a43d37ceff9f3876e771aa2f824079e504ad7347"
|
|
head "https://github.com/mururu/elixir-build.git"
|
|
|
|
conflicts_with "narwhal", :because => "both install `json` binaries"
|
|
|
|
def install
|
|
ENV["PREFIX"] = prefix
|
|
system "./install.sh"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/elixir-build", "--version"
|
|
end
|
|
end
|