homebrew-core/Formula/leptonica.rb

22 lines
509 B
Ruby
Raw Normal View History

require 'formula'
class Leptonica < Formula
homepage 'http://www.leptonica.org/'
url 'http://www.leptonica.org/source/leptonica-1.69.tar.gz'
sha1 '91199f99d2e78b15b76ffa6fc4e86ee458a330e8'
2013-02-01 00:24:57 +00:00
depends_on :libpng => :recommended
depends_on 'jpeg' => :recommended
depends_on 'libtiff' => :optional
def install
2012-03-11 20:36:14 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
2012-03-11 20:36:14 +00:00
def test
system "#{bin}/yuvtest"
end
end