[buildout] parts = leptonica extends = ../zlib/buildout.cfg ../libjpeg/buildout.cfg ../libpng/buildout.cfg ../libtiff/buildout.cfg ../webp/buildout.cfg ../giflib/buildout.cfg ../patch/buildout.cfg [leptonica] recipe = slapos.recipe.cmmi url = http://www.leptonica.org/source/leptonica-1.73.tar.gz md5sum = 092cea2e568cada79fff178820397922 configure-options = --disable-static environment = 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 PATH=${patch:location}/bin:%(PATH)s