buildout.cfg 1.39 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3
  ../fontconfig/buildout.cfg
4
  ../freetype/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
5 6
  ../libjpeg/buildout.cfg
  ../libtiff/buildout.cfg
7
  ../libxml2/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
8
  ../pkgconfig/buildout.cfg
9 10 11 12

parts = ghostscript

[ghostscript-common]
13
recipe = slapos.recipe.cmmi
14
pkg_config_depends = ${libtiff:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}
15 16
configure-options =
  --disable-cups
17
  --disable-threadsafe
18
  --with-system-libtiff
19
  --without-libidn
20 21
  --without-x
  --with-drivers=FILES
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
22
  --with-fontpath=${ghostscript-fonts:location}
23 24 25 26
# it seems that parallel build sometimes fails for ghostscript.
make-options = -j1
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
27
  PKG_CONFIG_PATH=${:pkg_config_depends}
28 29
  LDFLAGS=-Wl,-rpath=${fontconfig:location}/lib -Wl,-rpath=${freetype:location}/lib -Wl,-rpath=${libtiff:location}/lib
  LD_LIBRARY_PATH=${fontconfig:location}/lib:${freetype:location}/lib:${libtiff:location}/lib:${libxml2:location}/lib
30 31

[ghostscript]
32
<= ghostscript-9
33 34 35

[ghostscript-9]
<= ghostscript-common
36 37
url = http://downloads.ghostscript.com/public/ghostscript-9.14.tar.bz2
md5sum = 75f2e8ab8891d052ade9b64eb4eb5294
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
38 39 40 41 42 43

[ghostscript-fonts]
recipe = hexagonit.recipe.download
url = http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz
md5sum = 6865682b095f8c4500c54b285ff05ef6
strip-top-level-dir = true