homebrew-core/Formula/abcl.rb

18 lines
388 B
Ruby
Raw Normal View History

require 'formula'
class Abcl < Formula
homepage 'http://abcl.org'
2014-03-16 23:11:30 +00:00
url 'http://abcl.org/releases/1.3.0/abcl-bin-1.3.0.tar.gz'
sha1 '06704f96418b1a39ed0d774569c102af4c1606d8'
depends_on 'rlwrap'
def install
prefix.install "abcl.jar", "abcl-contrib.jar"
(bin+"abcl").write <<-EOS.undent
#!/bin/sh
rlwrap java -jar "#{prefix}/abcl.jar" "$@"
EOS
end
end