homebrew-core/Formula/kawa.rb
Aleh Suprunovich 128b2a555c kawa 2.0
Closes Homebrew/homebrew#34737.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-06 21:38:52 -05:00

17 lines
444 B
Ruby

require 'formula'
class Kawa < Formula
homepage 'http://www.gnu.org/software/kawa/'
url 'http://ftpmirror.gnu.org/kawa/kawa-2.0.jar'
mirror 'http://ftp.gnu.org/gnu/kawa/kawa-2.0.jar'
sha1 '150dacc0b1dbf55c5493da022a590d9d8549b3b6'
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