ghostscript ships a number of bundled libraries
that is needs to be build and at runtime.
This patch removes them all which causes ghostcript
to automatically fall back to the libraries installed
in the system.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ghostscript
-PAK_VER = 2
+PAK_VER = 3
-DEPS = "dbus libtiff"
+DEPS = "cups dbus libtiff"
###############################################################################
# Top-level Rules
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && rm -rf expat freetype icclib jasper jpeg jpegxr \
+ lcms lcms2 libpng openjpeg zlib cups/libs
cd $(DIR_APP) && \
./configure \
--prefix=/usr \