PROJECT_MOVED -> https://lab.nexedi.com/nexedi/slapos
[slapos.git] / component / leptonica / buildout.cfg
1 [buildout]
2 parts = leptonica
3 extends =
4   ../zlib/buildout.cfg
5   ../libjpeg/buildout.cfg
6   ../libpng/buildout.cfg
7   ../libtiff/buildout.cfg
8   ../webp/buildout.cfg
9   ../giflib/buildout.cfg
10
11 [leptonica]
12 recipe = slapos.recipe.cmmi
13 url = http://leptonica.googlecode.com/files/leptonica-1.68.tar.gz
14 md5sum = 5cd7092f9ff2ca7e3f3e73bfcd556403
15 configure-options =
16   --disable-static
17 patch-options = -p1
18 patches =
19   ${:_profile_base_location_}/leptonica-1.69-zlib-include.patch#cff3dc942075190939b407c38e0d3201
20 environment =
21   CPPFLAGS=-I${zlib:location}/include -I${libjpeg:location}/include -I${libpng:location}/include -I${libtiff:location}/include -I${webp:location}/include -I${giflib:location}/include
22   LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${libtiff:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${webp:location}/lib -Wl,-rpath=${webp:location}/lib -L${giflib:location}/lib -Wl,-rpath=${giflib:location}/lib