aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDave Cottlehuber2015-02-10 10:48:03 +0100
committerMike McQuaid2015-02-11 10:59:10 +0000
commit9919f1ef0400e69dbc3a7b03fc21d8dff029cab8 (patch)
tree5851650065d58ca3a7d003d2d51b8f177b879996 /Library/Formula
parent16e5a8a5a1868a48b54871e4eafbe2c5103043b2 (diff)
downloadhomebrew-9919f1ef0400e69dbc3a7b03fc21d8dff029cab8.tar.bz2
lfe 0.9.1 (new formula)
Closes #36696. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lfe.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/lfe.rb b/Library/Formula/lfe.rb
new file mode 100644
index 000000000..bc2ab3940
--- /dev/null
+++ b/Library/Formula/lfe.rb
@@ -0,0 +1,20 @@
+class Lfe < Formula
+ homepage "http://lfe.io/"
+ url "https://github.com/rvirding/lfe/archive/v0.9.1.tar.gz"
+ sha1 "015c23e7c761c2ccfefb7a9f97f85fe09f1cd648"
+
+ head "https://github.com/rvirding/lfe.git", :branch => "develop"
+
+ 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 \"42\")'"
+ end
+end