homebrew-core/Formula/kawa.rb
Brett Koonce b8384eb102 kawa 1.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-28 08:36:13 -07: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.12.jar'
mirror 'http://ftp.gnu.org/gnu/kawa/kawa-1.12.jar'
sha1 '7b682781704ca052825ad83ed93261d9fdca16ce'
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