1234567891011121314151617181920212223242526272829303132 |
- # force it to use system libs.
- rm -rf tesseract leptonica
- rm -rf cups/libs expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
- rm -rf gpdl
- # add missing LDFLAGS
- sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
- cd ijs
- autoreconf -fi
- cd ..
- ./configure ${CONF_OPT} --enable-dynamic --with-ijs \
- --with-jbig2dec --with-omni --with-x --with-drivers=ALL \
- --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
- --enable-fontconfig --enable-freetype --enable-openjpeg \
- --with-libpaper --without-luratech --without-omni \
- --with-system-libtiff --disable-compile-inits
- # configure libijs
- cd ijs
- ./configure ${CONF_OPT} --enable-shared --disable-static
- cd ..
- # build ghostscript
- make ${MAKEJOBS}
- make ${MAKEJOBS} so
- # build libijs
- cd ijs
- make ${MAKEJOBS}
- cd ..
|