mirror of https://github.com/google/oss-fuzz.git
[tesseract-ocr] Use Leptonica master branch (#2224)
This commit is contained in:
parent
d1afb0ac72
commit
b4837fc025
|
@ -16,8 +16,8 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
MAINTAINER guidovranken@gmail.com
|
||||
RUN apt-get update && apt-get install -y autoconf automake libtool pkg-config libpng-dev libjpeg8-dev libtiff5-dev zlib1g-dev wget
|
||||
RUN wget https://github.com/DanBloomberg/leptonica/releases/download/1.77.0/leptonica-1.77.0.tar.gz
|
||||
RUN apt-get update && apt-get install -y autoconf automake libtool pkg-config libpng-dev libjpeg8-dev libtiff5-dev zlib1g-dev
|
||||
RUN git clone --depth 1 https://github.com/danbloomberg/leptonica
|
||||
RUN git clone --depth 1 https://github.com/tesseract-ocr/tesseract
|
||||
RUN git clone --depth 1 https://github.com/tesseract-ocr/tessdata
|
||||
RUN git clone https://github.com/guidovranken/tesseract-ocr-fuzzers
|
||||
|
|
|
@ -15,9 +15,8 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
cd $SRC
|
||||
tar zxf leptonica-1.77.0.tar.gz
|
||||
cd leptonica-1.77.0
|
||||
cd $SRC/leptonica
|
||||
./autogen.sh
|
||||
./configure
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
|
Loading…
Reference in New Issue