homebrew-core/Formula/kawa.rb
Brett Koonce b0231e7432 kawa 1.14
Closes Homebrew/homebrew#23352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-18 18:17:16 -05:00

17 lines
446 B
Ruby

require 'formula'
class Kawa < Formula
homepage 'http://www.gnu.org/software/kawa/'
url 'http://ftpmirror.gnu.org/kawa/kawa-1.14.jar'
mirror 'http://ftp.gnu.org/gnu/kawa/kawa-1.14.jar'
sha1 '87354829bfb28649c771d011769cf79fac5b2621'
def install
prefix.install "kawa-#{version}.jar"
(bin+'kawa').write <<-EOS.undent
#!/bin/sh
KAWA_HOME="#{prefix}"
java -jar "$KAWA_HOME/kawa-#{version}.jar"
EOS
end
end