From 03235be22dac6ebbff91f8f4dcae09880f8d2f20 Mon Sep 17 00:00:00 2001 From: Sam Raudabaugh Date: Thu, 23 Jan 2014 10:49:45 -0800 Subject: tesseract: add HEAD Closes #26113. Signed-off-by: Mike McQuaid --- Library/Formula/tesseract.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/tesseract.rb b/Library/Formula/tesseract.rb index 1c9cedfed..70ab3a6b1 100644 --- a/Library/Formula/tesseract.rb +++ b/Library/Formula/tesseract.rb @@ -4,9 +4,16 @@ class Tesseract < Formula homepage 'http://code.google.com/p/tesseract-ocr/' url 'http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz' sha1 'a950acf7b75cf851de2de787e9abb62c58ca1827' + head 'http://tesseract-ocr.googlecode.com/svn/trunk' option "all-languages", "Install recognition data for all languages" + if build.head? + depends_on :autoconf + depends_on :automake + depends_on :libtool + end + depends_on 'libtiff' depends_on 'leptonica' @@ -35,6 +42,7 @@ class Tesseract < Formula # which doesn't work for non-default homebrew location ENV['LIBLEPT_HEADERSDIR'] = HOMEBREW_PREFIX/"include" + system './autogen.sh' if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" if build.include? "all-languages" -- cgit v1.2.3