derle.sh 737 B

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