diff options
Diffstat (limited to 'homebrew/tesseract/.make.sh-auto')
-rw-r--r-- | homebrew/tesseract/.make.sh-auto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/tesseract/.make.sh-auto b/homebrew/tesseract/.make.sh-auto new file mode 100644 index 000000000..543377dd8 --- /dev/null +++ b/homebrew/tesseract/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +ENV["LIBLEPT_HEADERSDIR"] = HOMEBREW_PREFIX/"include" +ENV.cxx11 +./autogen.sh +pkg:configure --disable-dependency-tracking --datarootdir=#{HOMEBREW_PREFIX}/share +make +make DESTDIR=${PKG_DEST} install datarootdir=#{share} +resource("snum").stage { mv "snum.traineddata", share/"tessdata" } +resource("eng").stage { mv "eng.traineddata", share/"tessdata" } +resource("osd").stage { mv "osd.traineddata", share/"tessdata" } |