X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage5%2Fpkg%2Fghostscript;h=9ab008c598ee8abb17c06a3e3afbb19cec692333;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=a501228269c4d593f7cd5199afc56db9c1e872e9;hpb=7537c1f2f4728f09caee2c99f91c31ac426ed132;p=hvlinux.git diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index a501228..9ab008c 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -4,20 +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 copy of libtiff: - rm -rf tiff + # To use the system-installed version of librairies: + rm -rf jasper tiff openjpeg + rm -rf expat freetype lcms2 jpeg libpng zlib CONFIGURE_OPTS+=" \ --enable-dynamic \ + --disable-compile-inits \ --with-system-libtiff \ --with-fontpath=${GS_FONTS_PATH}" } @@ -41,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