Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions mkit.profiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,12 @@ profile_leptonica()
add_run_dep leptonica
}

profile_tesseract()
{
profile_leptonica
add_run_dep tesseract
}

profile_bzip2()
{
add_run_dep bzip2
Expand Down
8 changes: 8 additions & 0 deletions modules/tesseract/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build_tesseract()
{
[ -d "${prefix}/lib/pkgconfig" ] && export PKG_CONFIG_PATH="${prefix}/lib/pkgconfig"

build_raw_lite tesseract

return $?
}
4 changes: 4 additions & 0 deletions modules/tesseract/hooks/configure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# generate Makefiles with cmake

cd ${BUILDDIR}/tesseract
cmake "${srcdir_tesseract}" -DCMAKE_INSTALL_PREFIX=${prefix}