# Template file for 'cups-filters' pkgname=cups-filters version=1.0.18 revision=1 homepage="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" distfiles="http://www.openprinting.org/download/$pkgname/$pkgname-$version.tar.gz" build_style=gnu-configure make_install_target="BUILDROOT=${XBPS_DESTDIR}/${pkgname}-${version} install" short_desc="OpenPrinting CUPS Filters" maintainer="Juan RP " license="GPL-2, LGPL-2.1, MIT" checksum=6926980653e7cb5f94b91921517678cca7f0e6781364823a05f7b4b0ec919106 long_desc=" This distribution contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting." Add_dependency build pkg-config Add_dependency build cups-devel Add_dependency build lcms2-devel Add_dependency build libpng-devel Add_dependency build tiff-devel Add_dependency build poppler-devel Add_dependency build fontconfig-devel Add_dependency build ghostscript-devel Add_dependency full ghostscript Add_dependency full poppler-utils post_install() { # remove development stuff. rm -rf ${DESTDIR}/usr/include rm -f ${DESTDIR}/usr/lib/*.a }