Kawa 1.11
Kawa scheme, a JVM-based scheme interpreter Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a8e1938dc5
commit
facf0ff884
1 changed files with 16 additions and 0 deletions
16
Formula/kawa.rb
Normal file
16
Formula/kawa.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Kawa < Formula
|
||||
url 'ftp://ftp.gnu.org/pub/gnu/kawa/kawa-1.11.jar'
|
||||
homepage 'http://www.gnu.org/software/kawa/'
|
||||
md5 'eee96e13a329513a2f705ee03bacef63'
|
||||
|
||||
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
|
Loading…
Reference in a new issue