Merge branch 'lxc'
[slapos.git] / component / leptonica / buildout.cfg
1 [buildout]
2 parts = leptonica
3 extends =
4   ../libtool/buildout.cfg
5   ../zlib/buildout.cfg
6   ../libjpeg/buildout.cfg
7   ../libpng/buildout.cfg
8   ../libtiff/buildout.cfg
9   ../webp/buildout.cfg
10   ../giflib/buildout.cfg
11
12 [leptonica]
13 recipe = hexagonit.recipe.cmmi
14 url = http://leptonica.googlecode.com/files/leptonica-1.68.tar.gz
15 md5sum = 5cd7092f9ff2ca7e3f3e73bfcd556403
16 configure-command =
17   ./autogen.sh
18   ./configure --prefix=${buildout:parts-directory}/${:_buildout_section_name_} --disable-static
19 patch-options = -p1
20 patches =
21   ${leptonica-1.69-zlib-include.patch:location}/${leptonica-1.69-zlib-include.patch:filename}
22 environment =
23   ACLOCAL_ARGS=-I${libtool:location}/share/aclocal
24   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
25   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
26
27 [leptonica-1.69-zlib-include.patch]
28 recipe = hexagonit.recipe.download
29 url = ${:_profile_base_location_}/${:filename}
30 md5sum = cff3dc942075190939b407c38e0d3201
31 download-only = true
32 filename = ${:_buildout_section_name_}