X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fghostscript;h=6b4adaf8c57b4b1bd515a16ce5989c5f105a2138;hb=5f68bffa47abd6b002a26ff1335acf3a14e3feb9;hp=242d9a34f80eff06536d84f07d8b679e44a8729e;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index 242d9a3..6b4adaf 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -23,35 +23,27 @@ hvconfig_pre() --with-fontpath=${GS_FONTS_PATH}" } -hvbuil() +hvbuild() { make make install docdir=/usr/share/doc/${PACKAGE} } -hvbuil_post() +hvbuild_post() { # To install the shared library libgs.so (needed by libspectre) make so make soinstall docdir=/usr/share/doc/${PACKAGE} install -v -m644 base/*.h /usr/include/ghostscript - ln -v -s ghostscript /usr/include/ps + ln -svf ghostscript /usr/include/ps # Unpack all the fonts to ${GS_FONTS_PATH} install -v -m755 -d ${GS_FONTS_PATH} - decompress_package ${GHOSTSCRIPT_FONTS_STD} - decompress_package ${GHOSTSCRIPT_FONTS_OTHER} - mv ${LFS_TMP}/fonts/* ${GS_FONTS_PATH} - rmdir ${LFS_TMP}/fonts + 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} - if ! grep "${GS_FONTS_PATH}" /etc/fonts/local.conf 1> /dev/null 2>&1; then - # Adding Ghostscript fonts directory to local configuration file - sed -i -e "s!\(\)!