[buildout] parts = leptonica extends = ../libtool/buildout.cfg ../zlib/buildout.cfg ../libjpeg/buildout.cfg ../libpng/buildout.cfg ../libtiff/buildout.cfg ../webp/buildout.cfg ../giflib/buildout.cfg [leptonica] recipe = slapos.recipe.cmmi url = http://leptonica.googlecode.com/files/leptonica-1.68.tar.gz md5sum = 5cd7092f9ff2ca7e3f3e73bfcd556403 configure-command = ./autogen.sh ./configure --prefix=${buildout:parts-directory}/${:_buildout_section_name_} --disable-static patch-options = -p1 patches = ${leptonica-1.69-zlib-include.patch:location}/${leptonica-1.69-zlib-include.patch:filename} environment = ACLOCAL_ARGS=-I${libtool:location}/share/aclocal 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 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 [leptonica-1.69-zlib-include.patch] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/${:filename} md5sum = cff3dc942075190939b407c38e0d3201 download-only = true filename = ${:_buildout_section_name_}