homebrew-core/Formula/abcl.rb

18 lines
390 B
Ruby
Raw Normal View History

2014-05-18 22:50:52 +00:00
require "formula"
class Abcl < Formula
2014-05-18 22:50:52 +00:00
homepage "http://abcl.org"
url "http://abcl.org/releases/1.3.1/abcl-bin-1.3.1.tar.gz"
sha1 "7abb22130acfbca9d01c413da9c98a6aa078c78b"
2014-05-18 22:50:52 +00:00
depends_on "rlwrap"
def install
2014-05-18 22:50:52 +00:00
libexec.install "abcl.jar", "abcl-contrib.jar"
(bin+"abcl").write <<-EOS.undent
#!/bin/sh
2014-05-18 22:50:52 +00:00
rlwrap java -jar "#{libexec}/abcl.jar" "$@"
EOS
end
end