buildout.cfg 939 Bytes
Newer Older
1 2 3 4 5
# FreeType - a Free, High-Quality, and Portable Font Engine
# http://freetype.org/

[buildout]
extends =
6
  ../bzip2/buildout.cfg
7
  ../libpng/buildout.cfg
8
  ../pkgconfig/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
9
  ../zlib/buildout.cfg
10 11 12 13 14

parts =
  freetype

[freetype]
15
recipe = slapos.recipe.cmmi
16 17
url = http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.bz2
md5sum = d6b60f06bfc046e43ab2a6cbfd171d65
18
pkg_config_depends = ${zlib:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig
19
location = ${buildout:parts-directory}/${:_buildout_section_name_}
20 21 22
configure-options =
  --disable-static
environment =
23 24
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${:pkg_config_depends}
25 26
  CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
27 28
make-targets =
  install && ln -s . ${:location}/include/freetype2/freetype