+cd ${LFS_TMP}/${PACKAGE}
+
+# 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
+
+./configure \
+ --prefix=/usr \
+ --enable-dynamic \
+ --with-system-libtiff \
+ --with-fontpath=${GS_FONTS_PATH}
+make
+make install docdir=/usr/share/doc/${PACKAGE}
+
+# 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