ocropus.cfg 1.3 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1
[buildout]
2 3
parts = ocropus

4 5 6 7 8
[ocropus-patch-scons]
recipe = hexagonit.recipe.download
download-only = true
filename = ocropus.SConstruct-local-installation.patch
url = http://www.nexedi.org/static/packages/source/ocropus/${:filename}
Lucas Carvalho's avatar
Lucas Carvalho committed
9
md5sum = 08710ec022f3ce13e5c0b584dfee2c1c
10

11 12
[ocropus]
recipe = hexagonit.recipe.cmmi
13
url = http://www.nexedi.org/static/packages/source/ocropus/ocropus-0.4.4.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
14
md5sum = 1485dbe9aab27574bfe3c8b4395cf3ce
15
configure-options =
16 17 18
  ${iulib:location}
patches = ${ocropus-patch-scons:location}/${ocropus-patch-scons:filename}
patch-options = -p1
19 20 21 22
# workaround http://github.com/hexagonit/hexagonit.recipe.cmmi/issues#issue/1
# in typical buildout run
environment =
  LDFLAGS =
23

24 25 26
[iulib-patch-scons]
recipe = hexagonit.recipe.download
download-only = true
Lucas Carvalho's avatar
Lucas Carvalho committed
27
filename = iulib.SConstruct-libtiff-detection.patch
28 29 30
url = http://www.nexedi.org/static/patches/${:filename}
md5sum = dbbdf909814fb84ffe47e2ff59980db7

31 32 33
[iulib]
recipe = hexagonit.recipe.cmmi
url = http://www.nexedi.org/static/packages/source/ocropus/iulib-0.4.4.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
34
md5sum = 3d9754dbd64c56029ce1cd7c2f61894c
35 36 37
# workaround http://code.google.com/p/iulib/issues/detail?id=27
patches = ${iulib-patch-scons:location}/${iulib-patch-scons:filename}
patch-options = -p1
38 39 40 41

[requirements]
development =
  tesseract/baseapi.h
42
  include/omp.h
43
binary =
44
  scons