24 lines
632 B
Plaintext
24 lines
632 B
Plaintext
# Description: Backends and filters for CUPS
|
|
# URL: https://github.com/OpenPrinting/cups-filters
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libcupsfilters libppd
|
|
# Optional: avahi mupdf poppler
|
|
|
|
name=cups-filters
|
|
version=2.0.1
|
|
release=1
|
|
source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
prt-get isinst mupdf || PKGMK_CUPSFILTERS+=' --disable-mutool'
|
|
prt-get isinst poppler || PKGMK_CUPSFILTERS+=' --disable-poppler'
|
|
|
|
./configure $PKGMK_CUPSFILTERS --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|