# pdf2email/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. This package installs a CUPS backend named "pdf2email" and an # associated pseudo-printer named PDFMail. # The "pdf2email" backend uses GhostScript to convert a specified # document to PDF format, then mails the PDF output file to the user # who started the associated CUPS print job. # The PDFMail pseudo-printer sends jobs to the "pdf2email" backend. #--------------------------------------------------------------------- # 2. This package makes PDFMail the default CUPS printer. Note: If a # "real" printer is available, the system administrator should add the # printer [using "lpadmin" or the CUPS web interface] and make it the # default. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.00 minutes) - 2021 dedi 00.00 hours (or 000.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.18 minutes) - HP Pavilion dv8 8GB RAM 00.00 hours (or 000.20 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.20 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM #--------------------------------------------------------------------- [settings] configure = none license = GNU General Public License, version 2 (June 1991) proddir = none purge = no tmpsize = 1M #--------------------------------------------------------------------- [depends] cups-base:strict ghostfonts ghostscript python #--------------------------------------------------------------------- [build] CUPSDIR=$PRODTREE/cups BENDDIR=$CUPSDIR/lib/cups/backend XDATDIR=$CUPSDIR/share/cups/pdf2email PPDNAME=pdf2email.ppd PPDPATH=$XDATDIR/$PPDNAME mkdir -p $XDATDIR chmod 755 pdf2email cp -p pdf2email $BENDDIR/ cp -p $PKGDIR_SPECIAL/$PPDNAME $PPDPATH exit 0 # Future: Fix the following later. $CUPSDIR/setup/cups-base.boot > /dev/null 2>&1 sleep 10 echo lpadmin -p PDFMail \ -E -v pdf2email:/var/tmp -P $PPDPATH lpadmin -p PDFMail \ -E -v pdf2email:/var/tmp -P $PPDPATH echo lpadmin -d PDFMail lpadmin -d PDFMail #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://www.g-loaded.eu/2006/12/03/\ pdf2email-cups-backend/ url_lfs = n/a url_tarball = http://www.g-loaded.eu/packages/pdf2email/\ pdf2email-0.2.tar.gz #--------------------------------------------------------------------- [history]