Merge branch 'erp5' into erp5-z2.13
[slapos.git] / component / ghostscript / buildout.cfg
1 [buildout]
2 extends =
3   ../fontconfig/buildout.cfg
4   ../libjpeg/buildout.cfg
5   ../libtiff/buildout.cfg
6   ../pkgconfig/buildout.cfg
7
8 parts = ghostscript
9
10 [ghostscript-common]
11 recipe = slapos.recipe.cmmi
12 depends =
13   ${libtiff:version}
14 configure-options =
15   --disable-cups
16   --disable-threadsafe
17   --with-system-libtiff
18   --without-libidn
19   --without-x
20   --with-drivers=FILES
21   --with-fontpath=${ghostscript-fonts:location}
22 # it seems that parallel build sometimes fails for ghostscript.
23 make-options = -j1
24 environment =
25   PATH=${pkgconfig:location}/bin:%(PATH)s
26   PKG_CONFIG_PATH=${fontconfig:location}/lib/pkgconfig:${libtiff:location}/lib/pkgconfig
27   LDFLAGS=-Wl,-rpath=${fontconfig:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -Wl,-rpath=${libtiff:location}/lib
28   LD_LIBRARY_PATH=${fontconfig:location}/lib:${libtiff:location}/lib
29
30 [ghostscript]
31 <= ghostscript-9
32
33 [ghostscript-9]
34 <= ghostscript-common
35 url = http://downloads.ghostscript.com/public/ghostscript-9.07.tar.bz2
36 md5sum = eea27befc1e85bef6d4768202f6b03a5
37
38 [ghostscript-fonts]
39 recipe = hexagonit.recipe.download
40 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
41 md5sum = 6865682b095f8c4500c54b285ff05ef6
42 strip-top-level-dir = true