blob: 499a5191ea018c620a898ffb7e03efa774ce4f6c (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | require 'formula'
class Fastjar < Formula
  homepage 'http://sourceforge.net/projects/fastjar/'
  url 'https://downloads.sourceforge.net/project/fastjar/fastjar/0.94/fastjar-0.94.tar.gz'
  sha1 '2b54b558bed1acef63455b27827b69e83c823f8d'
  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
  test do
    system "#{bin}/fastjar", "-V"
    system "#{bin}/grepjar", "-V"
  end
end
 |