homebrew-core/Formula/ecj.rb
Xiyue Deng e7e00c962c New formula: ecj
This is splitted from GCC formulae to avoid conflicts between different
GCC versions.

Closes .

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-15 17:31:12 -06:00

14 lines
404 B
Ruby

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'
def install
(share/'java').install "ecj-#{version}.jar" => 'ecj.jar'
end
end