aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jp2a.rb
blob: 03212abc9662ae83d6a73bf02cc0cbb9d47edd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Jp2a < Formula
  homepage 'http://csl.sublevel3.org/jp2a/'
  url 'http://sourceforge.net/projects/jp2a/files/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

  def test
    system "#{bin}/jp2a", "-V"
  end
end