[buildout]
extends =
  ../freetype/buildout.cfg
  ../libjpeg/buildout.cfg
  ../zlib/buildout.cfg

parts =
  pil-python

[pil-python]
recipe = zc.recipe.egg:custom
egg = PIL
include-dirs =
  ${freetype:location}/include/freetype2
  ${libjpeg:location}/include
  ${zlib:location}/include
library-dirs =
  ${freetype:location}/lib
  ${libjpeg:location}/lib
  ${zlib:location}/lib
rpath =
  ${freetype:location}/lib
  ${libjpeg:location}/lib
  ${zlib:location}/lib