Tesseract: style nits
This commit is contained in:
parent
259a2a5923
commit
64c6b6017e
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class TesseractEnglishData < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
class Tesseract < Formula
|
class Tesseract < Formula
|
||||||
url 'http://tesseract-ocr.googlecode.com/files/tesseract-3.01.tar.gz'
|
|
||||||
homepage 'http://code.google.com/p/tesseract-ocr/'
|
homepage 'http://code.google.com/p/tesseract-ocr/'
|
||||||
|
url 'http://tesseract-ocr.googlecode.com/files/tesseract-3.01.tar.gz'
|
||||||
md5 '1ba496e51a42358fb9d3ffe781b2d20a'
|
md5 '1ba496e51a42358fb9d3ffe781b2d20a'
|
||||||
|
|
||||||
depends_on 'libtiff'
|
depends_on 'libtiff'
|
||||||
|
@ -119,7 +119,7 @@ class Tesseract < Formula
|
||||||
|
|
||||||
# explicitly state leptonica header location, as the makefile defaults to /usr/local/include,
|
# explicitly state leptonica header location, as the makefile defaults to /usr/local/include,
|
||||||
# which doesn't work for non-default homebrew location
|
# which doesn't work for non-default homebrew location
|
||||||
ENV['LIBLEPT_HEADERSDIR'] = "#{HOMEBREW_PREFIX}/include"
|
ENV['LIBLEPT_HEADERSDIR'] = HOMEBREW_PREFIX/"include"
|
||||||
|
|
||||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
Loading…
Reference in a new issue