homebrew-core/Formula/jp2a.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

19 lines
462 B
Ruby

require 'formula'
class Jp2a < Formula
homepage 'http://csl.sublevel3.org/jp2a/'
url 'http://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz'
sha1 '8d08a7f9428632c02351452067828af215afe2cf'
depends_on 'jpeg'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/jp2a", "-V"
end
end