diff options
| author | Sam Raudabaugh | 2014-01-23 10:49:45 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-23 10:49:45 -0800 |
| commit | 03235be22dac6ebbff91f8f4dcae09880f8d2f20 (patch) | |
| tree | f39b2013c2a6de9567feb584c872a6e0a8ab2b69 /Library/Formula | |
| parent | cdf3de67adc69ce33672637635ec5f1d353f659a (diff) | |
| download | homebrew-03235be22dac6ebbff91f8f4dcae09880f8d2f20.tar.bz2 | |
tesseract: add HEAD
Closes #26113.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tesseract.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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" |
