CUPS already has output to pdf option.
CPIO="cpio-2.11"
CUPS="cups-2.0.1"
CUPS_FILTERS="cups-filters-1.0.61"
-CUPS_PDF="cups-pdf-2.5.1"
CURL="curl-7.39.0"
CVS="cvs-1.11.23"
--with-gs-path=/usr/bin/gs \
--with-pdftops-path=/usr/bin/gs \
--disable-static"
-ipkg -m noac ${CUPS_PDF}
ipkg -m noac ${SPLIX}
ipkg ${FOOMATIC_FILTERS}
ipkg -m noac ${FOO2ZJS}
fpkg -m sf ${QPDF}
fpkg -e "tar.gz" ${CUPS_FILTERS} \
"https://www.openprinting.org/download/cups-filters"
-fpkg -e "tar.gz" -f "$(get_pkg_name ${CUPS_PDF})_$(get_pkg_ver ${CUPS_PDF})" \
- ${CUPS_PDF} "http://www.cups-pdf.de/src"
fpkg -m sf -e "tar.bz2" ${SPLIX}
fpkg -e "tar.gz" ${FOOMATIC_FILTERS} "http://www.openprinting.org/download/foomatic/"
fpkg -e "tar.gz" ${FOO2ZJS} "http://foo2zjs.rkkda.com"
+++ /dev/null
-#!/bin/bash
-
-hvbuild()
-{
- cd ${SRC_DIR}/src
- gcc -O9 -s -o cups-pdf cups-pdf.c
- install -v -m 0700 cups-pdf /usr/lib/cups/backend
-
- cd ${SRC_DIR}
- cp extra/cups-pdf.conf /etc/cups
- cp extra/CUPS-PDF.ppd /usr/share/cups/model
-}