# Description: Foomatic - Filter scripts used by the printer spoolers to convert the incoming PostScript data into the printer's native format.
# URL: http://www.linuxprinting.org/foomatic.html
# Packager: pierre at nutyx dot org
# Depends on: libxml2 cups cups-filters 
description="Filter scripts used by the printer spoolers to convert the incoming PostScript data"
name=foomatic-filters
version=4.0.20150819
release=1
_version=4.0-20150819

source=(http://www.openprinting.org/download/foomatic/$name-${_version}.tar.gz)

build() {
cd $name-*
autoreconf
./configure --prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR=$PKG install
rm $PKG/{usr/bin/foomatic-rip,usr/lib/cups/filter/foomatic-rip,\
usr/share/man/man1/foomatic-rip.1}
}
