homebrew-core/Formula/fastjar.rb

19 lines
500 B
Ruby
Raw Normal View History

require 'formula'
class Fastjar < Formula
homepage 'http://sourceforge.net/projects/fastjar/'
2013-01-27 23:07:22 +00:00
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
def test
system "#{bin}/fastjar", "-V"
system "#{bin}/grepjar", "-V"
end
end