# Template file for 'foomatic-filters'
pkgname=foomatic-filters
version=4.0.16
revision=1
build_style=gnu-configure
configure_args="--enable-dbus"
hostmakedepends="pkg-config perl enscript"
makedepends="dbus-devel cups-devel"
short_desc="OpenPrinting printer support - filters"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, MIT"
homepage="https://www.openprinting.org/"
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
checksum=bedc61466c284c8ea0ae95c97d51a873411c6c55338e67831893772465f5434d
long_desc="
 Foomatic is a printing system designed to make it easier to set up common
 printers for use with Linux (and other operating systems). It provides the
 "glue" between a print spooler (like CUPS or lpr) and your actual printer,
 by telling your computer how to process files sent to the printer.

 This package consists of filters used by the printer spoolers to convert the
 incoming PostScript data into the printer's native format using a
 printer-specific, but spooler-independent PPD file.

 For use with CUPS, you will need the cups package installed on your system."

foomatic-filters_package() {
	depends="perl"
	conf_files="/etc/foomatic/filter.conf"
	pkg_install() {
		vmove usr
	}
}
