tesseract
This commit is contained in:
parent
aa8e45e814
commit
89dae7bc0a
|
@ -9,7 +9,7 @@ surum=3.05.01
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(https://github.com/tesseract-ocr/tesseract/archive/$surum.tar.gz::${isim}-${surum}.tar.gz
|
kaynak=(https://github.com/tesseract-ocr/tesseract/archive/$surum.tar.gz::${isim}-${surum}.tar.gz
|
||||||
https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata)
|
https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata
|
||||||
https://github.com/tesseract-ocr/tessdata/raw/master/tur.traineddata)
|
https://github.com/tesseract-ocr/tessdata/raw/master/tur.traineddata)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
|
@ -22,8 +22,7 @@ derle() {
|
||||||
make DESTDIR="$PKG" training-install
|
make DESTDIR="$PKG" training-install
|
||||||
mkdir -p "$PKG"/usr/share/tessdata
|
mkdir -p "$PKG"/usr/share/tessdata
|
||||||
install -Dm0644 "$SRC"/osd.traineddata "$PKG"/usr/share/tessdata/osd.traineddata
|
install -Dm0644 "$SRC"/osd.traineddata "$PKG"/usr/share/tessdata/osd.traineddata
|
||||||
|
|
||||||
mkdir -p \$PKG/usr/share/tessdata
|
cp $SRC/tur.traineddata $PKG/usr/share/tessdata/
|
||||||
cp \$SRC/tur.traineddata \$PKG/usr/share/tessdata/
|
find $PKG/usr/share/tessdata -type f -exec chmod 0644 {};
|
||||||
find \$PKG/usr/share/tessdata -type f -exec chmod 0644 {} \;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue