require 'formula' class Frege < Formula homepage 'http://code.google.com/p/frege/' url 'https://frege.googlecode.com/files/frege3.19.112a.jar' version '3.19.112a' sha1 '882c64832054cdd668c230a4e075477218d72816' def install libexec.install Dir['*'] bin.write_jar_script libexec/"frege#{version}.jar", "fregec", "-Xss1m" end end