2011-10-03 15:47:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jp2a < Formula
|
|
|
|
homepage 'http://csl.sublevel3.org/jp2a/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '8d08a7f9428632c02351452067828af215afe2cf'
|
2011-10-03 15:47:27 +00:00
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/jp2a", "-V"
|
2011-10-03 15:47:27 +00:00
|
|
|
end
|
|
|
|
end
|