[Lunar-commits] <moonbase-other> tesseract: fix build and install of language model
v4hn
me at v4hn.de
Fri Jan 18 00:18:25 CET 2013
commit 89f2686fbca108c310b94e9c3c1068ad5aa14962
Author: v4hn <me at v4hn.de>
Date: Thu, 17 Jan 2013 15:18:25 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/89f2686fbca108c310b94e9c3c1068ad5aa14962
tesseract: fix build and install of language model
---
doc-tools/tesseract/BUILD | +0/-9
doc-tools/tesseract/DEPENDS | +0/-2
doc-tools/tesseract/PRE_BUILD | +7/-0
3 files changed, 7 insertions(+), 11 deletions(-)
--- a/doc-tools/tesseract/BUILD
+++ /dev/null
@@ -1,9 +0,0 @@
-(
-
- cd tessdata &&
- tar zxvf $SOURCE_CACHE/$SOURCE2 &&
- cd ../ &&
-
- default_build
-
-) > $C_FIFO 2>&1
--- a/doc-tools/tesseract/DEPENDS
+++ b/doc-tools/tesseract/DEPENDS
@@ -1,3 +1 @@
depends leptonica
-
-optional_depends tiff "--with-libtiff" "--without-libtiff" "for tiff graphics support"
--- /dev/null
+++ b/doc-tools/tesseract/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY &&
+tar xvf $SOURCE_CACHE/$SOURCE2 --strip-components=1 &&
+
+# install all provided language files!
+sedit "s:test \$\${LANGS+defined}:true:g" Makefile.in
More information about the Lunar-commits
mailing list