From 478880edb986df50ea7d7bdced85d3af26ba0412 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Mon, 22 Aug 2011 00:03:52 +0000 Subject: [PATCH] Correction erreurs de noms de fonctions --- stage5/pkg/ghostscript | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index 5ff4e24..ac2d5b5 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -23,26 +23,24 @@ 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 -q "${GS_FONTS_PATH}" /etc/fonts/local.conf; then -- 2.20.1