aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ecj.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/ecj.rb b/Library/Formula/ecj.rb
index 477692e0f..98c9a7c7c 100644
--- a/Library/Formula/ecj.rb
+++ b/Library/Formula/ecj.rb
@@ -1,14 +1,12 @@
-require 'formula'
-
# This formula is intended to be used by gcc formulae with java support.
class Ecj < Formula
- homepage 'http://gcc.gnu.org'
- url 'ftp://sourceware.org/pub/java/ecj-4.5.jar'
- mirror 'http://mirrors.kernel.org/sources.redhat.com/java/ecj-4.5.jar'
- sha1 '58c1d79c64c8cd718550f32a932ccfde8d1e6449'
+ homepage "http://gcc.gnu.org"
+ url "ftp://sourceware.org/pub/java/ecj-4.9.jar"
+ mirror "https://mirrors.kernel.org/sources.redhat.com/java/ecj-4.9.jar"
+ sha256 "9506e75b862f782213df61af67338eb7a23c35ff425d328affc65585477d34cd"
def install
- (share/'java').install "ecj-#{version}.jar" => 'ecj.jar'
+ (share/"java").install "ecj-#{version}.jar" => "ecj.jar"
end
end