[buildout]
extends =
  ../software-profiles/fonts.cfg
  ../software-profiles/freetype.cfg
  ../software-profiles/libexpat.cfg
  ../software-profiles/zlib.cfg

parts =
  fontconfig

[fontconfig]
recipe = hexagonit.recipe.cmmi
url = http://fontconfig.org/release/fontconfig-2.8.0.tar.gz
md5sum = 77e15a92006ddc2adbb06f840d591c0e
configure-options =
  --disable-docs
  --with-default-fonts=${fonts:location}
  --with-expat=${libexpat:location}
  --with-freetype-config=${freetype:location}/bin/freetype-config
environment =
  CPPFLAGS=-I${zlib:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib