2014-11-05 20:54:53 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Blucat < Formula
|
|
|
|
homepage "http://blucat.sourceforge.net/blucat/"
|
|
|
|
url "http://blucat.sourceforge.net/blucat/wp-content/uploads/blucat-aa3e02.zip"
|
|
|
|
sha1 "c5c801700b5d4d59f6bf0a5f0e4a405237de1840"
|
2014-11-17 00:08:16 +00:00
|
|
|
version "0.9"
|
|
|
|
|
2014-11-05 20:54:53 +00:00
|
|
|
depends_on "ant" => :build
|
2014-11-17 00:08:16 +00:00
|
|
|
depends_on :java => "1.6"
|
2014-11-05 20:54:53 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "ant"
|
|
|
|
libexec.install "blucat"
|
|
|
|
libexec.install "lib"
|
|
|
|
libexec.install "build"
|
|
|
|
bin.write_exec_script libexec/"blucat"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/blucat", "doctor"
|
|
|
|
end
|
|
|
|
end
|