X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fghostscript;h=9ab008c598ee8abb17c06a3e3afbb19cec692333;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=6b4adaf8c57b4b1bd515a16ce5989c5f105a2138;hpb=e1ab6ff650a6ac8d5f532f8e066998a966926be8;p=hvlinux.git diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index 6b4adaf..9ab008c 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -4,21 +4,15 @@ hvconfig_pre() { export GS_FONTS_PATH="${HV_FONTS_PATH}/ghostscript" - cd ${LFS_TMP}/${PACKAGE} + cd ${SRC_DIR} - # To use the system-installed version of JasPer: - rm -rf jasper - - # To use the system-installed copies of libjpeg and libpng: - rm -rf jpeg - rm -rf libpng + # To use the system-installed version of librairies: + rm -rf jasper tiff openjpeg + rm -rf expat freetype lcms2 jpeg libpng zlib - # To use the system-installed copy of libtiff: - rm -rf tiff - - CONFIGURE_OPTS=" \ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --enable-dynamic \ + --disable-compile-inits \ --with-system-libtiff \ --with-fontpath=${GS_FONTS_PATH}" } @@ -42,7 +36,7 @@ hvbuild_post() decompress_package ${GHOSTSCRIPT_FONTS_STD} ${GS_FONTS_PATH} 1 decompress_package ${GHOSTSCRIPT_FONTS_OTHER} ${GS_FONTS_PATH} 1 chown -v -R root:root ${GS_FONTS_PATH} - + # Updating font information cache. fc-cache -f