version up : webp 0.3.0 and specify so version.
[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 = slapos.recipe.cmmi
14 url = http://leptonica.googlecode.com/files/leptonica-1.68.tar.gz
15 md5sum = 5cd7092f9ff2ca7e3f3e73bfcd556403
16 depends =
17   ${libpng:so_version}
18   ${webp:so_version}
19 configure-command =
20   ./autogen.sh
21   ./configure --prefix=${buildout:parts-directory}/${:_buildout_section_name_} --disable-static
22 patch-options = -p1
23 patches =
24   ${leptonica-1.69-zlib-include.patch:location}/${leptonica-1.69-zlib-include.patch:filename}
25 environment =
26   ACLOCAL_ARGS=-I${libtool:location}/share/aclocal
27   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
28   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
29
30 [leptonica-1.69-zlib-include.patch]
31 recipe = hexagonit.recipe.download
32 url = ${:_profile_base_location_}/${:filename}
33 md5sum = cff3dc942075190939b407c38e0d3201
34 download-only = true
35 filename = ${:_buildout_section_name_}