e03a33911f
and update url
19 lines
640 B
Ruby
19 lines
640 B
Ruby
class AmdatuBootstrap < Formula
|
|
desc "Bootstrapping OSGi development"
|
|
homepage "http://www.amdatu.com/bootstrap/intro.html"
|
|
url "https://bitbucket.org/amdatuadm/amdatu-bootstrap/downloads/bootstrap-bin-r9.zip"
|
|
sha256 "937ef932a740665439ea0118ed417ff7bdc9680b816b8b3c81ecfd6d0fc4773b"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8"
|
|
|
|
def install
|
|
libexec.install %w[amdatu-bootstrap bootstrap.jar conf]
|
|
(bin/"amdatu-bootstrap").write_env_script libexec/"amdatu-bootstrap", Language::Java.java_home_env("1.8")
|
|
end
|
|
|
|
test do
|
|
assert_match "Amdatu Bootstrap R9", shell_output("#{bin}/amdatu-bootstrap --info")
|
|
end
|
|
end
|