# Copyright 1999-2016 Gentoo Foundation # Dstributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 inherit eutils DESCRIPTION="Seiko SLP cups printer driver" HOMEPAGE="https://labelprinters.sii-thermalprinters.com" SRC_URI="https://labelprinters.sii-thermalprinters.com/Downloads/Software/SLP-400-600-SeikoSLPLinuxCUPSDriver.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="net-print/cups sys-libs/zlib media-libs/libjpeg-turbo" RDEPEND="${CDEPEND}" S="${WORKDIR}/SeikoSLPLinuxDriver" src_unpack() { unpack ${A} epatch ${FILESDIR}/destdir.patch } src_install() { emake DESTDIR="${D}" install dodoc README.txt LICENSE.txt } pkg_postinst() { einfo einfo "Use the CUPS administration tool located at http://localhost:631" einfo "to install the printer instance on your system." einfo einfo "The manufacturer name contained within the enclosed PPD files is" einfo "\"SII\", not \"Seiko\". PPDs for \"Seiko\" printers are widely" einfo "distributed with the \"Foomatic\" open source effort and are" einfo "NOT the PPDs provided by Seiko Instruments Inc." einfo einfo "Note about Smart Label Printer 220. The very popular 220 was" einfo "discontinued many years ago. Although it is not directly" einfo "supported by this driver, the PPD for the SLP200/420 may be" einfo "assigned to it manually. (CUPS will allow any PPD to be used" einfo "with any port or printer. Although it may not work for any" einfo "port/printer combination.)" }