homebrew-core/Formula/lfe.rb

28 lines
874 B
Ruby
Raw Normal View History

class Lfe < Formula
desc "A Concurrent Lisp for the Erlang VM"
homepage "http://lfe.io/"
url "https://github.com/rvirding/lfe/archive/v0.9.2.tar.gz"
sha256 "9ff9661d03432a5f111266e56dcc24f24ceb633541f560333c3ff1acafc20794"
head "https://github.com/rvirding/lfe.git", :branch => "develop"
2015-02-11 10:57:56 +00:00
bottle do
2015-06-27 05:37:02 +00:00
sha256 "5e0da3e1633d5e289c9a92a684318a286dd97a417b4592bc7df34f470a1a0226" => :yosemite
sha256 "b6f986960df221080a22fba8f7f54d19a1122dbe52a6824c076ad896638fb188" => :mavericks
sha256 "26b4045d18d3a12945ac308b81e7a2755bd0c1a8f17e37056ec4f77daf042a4f" => :mountain_lion
2015-02-11 10:57:56 +00:00
end
depends_on "erlang"
depends_on "rebar"
def install
system "rebar", "compile"
bin.install Dir["bin/*"]
prefix.install "ebin"
end
test do
system bin/"lfe", "-eval", '"(io:format \"~p\" (list (* 2 (lists:foldl #\'+/2 0 (lists:seq 1 6)))))"'
end
end