11 |
|
case %cmsplatf in |
12 |
|
*_ia32_* ) |
13 |
|
export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -e 's|lib64|lib|g'` |
14 |
< |
ADDITIONAL_OPTIONS=--without-freetype |
14 |
> |
ADDITIONAL_OPTIONS="--without-freetype --disable-shared --enable-static --disable-libtdl" |
15 |
|
;; |
16 |
|
*_amd64_* ) |
17 |
|
LIB64_SUFFIX=64 |
18 |
< |
ADDITIONAL_OPTIONS=--without-freetype |
18 |
> |
ADDITIONAL_OPTIONS="--without-freetype --disable-shared --enable-static --disable-libtdl" |
19 |
|
;; |
20 |
|
osx* ) |
21 |
|
ADDITIONAL_OPTIONS= |
25 |
|
--with-expatlibdir=$EXPAT_ROOT/lib$LIB64_SUFFIX \ |
26 |
|
--with-expatincludedir=$EXPAT_ROOT/include \ |
27 |
|
--with-zincludedir=$ZLIB_ROOT/include \ |
28 |
< |
--with-zlibdir=$ZLIB_ROOT/lib$LIB64_SUFFIX \ |
28 |
> |
--with-zlibdir=$ZLIB_ROOT/lib \ |
29 |
|
--with-pngincludedir=$LIBJPG_ROOT/include \ |
30 |
< |
--with-pnglibdir=$LIBJPG_ROOT/lib$LIB64_SUFFIX \ |
30 |
> |
--with-pnglibdir=$LIBJPG_ROOT/lib \ |
31 |
|
--with-jpegincludedir=$LIBPNG_ROOT/include \ |
32 |
< |
--with-jpeglibdir=$LIBPNG_ROOT/lib$LIB64_SUFFIX \ |
32 |
> |
--with-jpeglibdir=$LIBPNG_ROOT/lib \ |
33 |
|
--without-x \ |
34 |
|
--without-tclsh \ |
35 |
|
--without-tcl \ |
41 |
|
--disable-ruby \ |
42 |
|
--disable-perl \ |
43 |
|
--without-pangocairo \ |
44 |
– |
--without-freetype \ |
44 |
|
--without-fontconfig \ |
45 |
|
--without-gdk-pixbuf \ |
46 |
|
--disable-sharp \ |
65 |
|
%ifos darwin |
66 |
|
perl -p -i -e "s|-lexpat||g" configure |
67 |
|
%endif |
68 |
< |
make |
68 |
> |
make %makeprocesses |
69 |
|
|
70 |
|
%install |
71 |
|
make install |
72 |
+ |
ln -s dot_static %i/bin/dot |
73 |
+ |
|
74 |
|
# SCRAM ToolBox toolfile |
75 |
|
mkdir -p %i/etc/scram.d |
76 |
|
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |