diff options
author | Nick White <git@njw.name> | 2019-01-05 01:57:42 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-01-05 01:57:42 +0000 |
commit | 6e4d1eb45e7ef933b804d8ab76ac1e37ba4fb076 (patch) | |
tree | e0cede0500a23a38c13d7b301ac2596bc4413b2d /roles/devami/tasks/tesseract.yml | |
parent | ef33895fef7ef1962973f3742c19b57ca6d21140 (diff) |
Separate out roles and groups better
Diffstat (limited to 'roles/devami/tasks/tesseract.yml')
-rw-r--r-- | roles/devami/tasks/tesseract.yml | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/roles/devami/tasks/tesseract.yml b/roles/devami/tasks/tesseract.yml deleted file mode 100644 index 5e04296..0000000 --- a/roles/devami/tasks/tesseract.yml +++ /dev/null @@ -1,56 +0,0 @@ ---- -# Installs tesseract - -- name: Install tesseract dependencies - package: name={{ item }} state=present - with_items: - - gcc-c++ - - make - - libpng12-devel - - libjpeg-turbo-devel - - libtiff-devel - - zlib-devel - -- name: Install tesseract training dependencies - package: name={{ item }} state=present - with_items: - - libicu-devel - - pango-devel - - cairo-devel - -- name: Install extra tesseract development dependencies - package: name={{ item }} state=present - with_items: - - git - -- name: Clone leptonica repository - git: - repo: https://github.com/nickjwhite/leptonica - dest: /home/ec2-user/src/leptonica - version: addinstall - depth: 1 - -- name: Configure leptonica environ.h - lineinfile: - dest: /home/ec2-user/src/leptonica/src/environ.h - line: "{{ item }}" - insertbefore: "^#endif * LEPTONICA_ENVIRON_H" - with_items: - - "#define HAVE_FMEMOPEN 1" - - "#define HAVE_FSTATAT 1" - -- name: Build leptonica - make: - chdir: /home/ec2-user/src/leptonica/src - target: "-f makefile.static install" - params: SHARED=yes - -- name: Clone tesseract repository - git: - repo: https://github.com/nickjwhite/tesseract - dest: /home/ec2-user/src/tesseract - version: simplemakev4 - depth: 1 - -- name: Build and install tesseract - make: chdir=/home/ec2-user/src/tesseract target=install |