derle.sh 818 B

1234567891011121314151617181920212223242526272829303132
  1. # force it to use system libs.
  2. rm -rf tesseract leptonica
  3. rm -rf cups/libs expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
  4. rm -rf gpdl
  5. # add missing LDFLAGS
  6. sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
  7. cd ijs
  8. autoreconf -fi
  9. cd ..
  10. ./configure ${CONF_OPT} --enable-dynamic --with-ijs \
  11. --with-jbig2dec --with-omni --with-x --with-drivers=ALL \
  12. --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
  13. --enable-fontconfig --enable-freetype --enable-openjpeg \
  14. --with-libpaper --without-luratech --without-omni \
  15. --with-system-libtiff --disable-compile-inits
  16. # configure libijs
  17. cd ijs
  18. ./configure ${CONF_OPT} --enable-shared --disable-static
  19. cd ..
  20. # build ghostscript
  21. make ${MAKEJOBS}
  22. make ${MAKEJOBS} so
  23. # build libijs
  24. cd ijs
  25. make ${MAKEJOBS}
  26. cd ..