opt/cups-filters/Pkgfile

25 lines
695 B
Plaintext
Raw Normal View History

2012-10-27 16:08:06 +02:00
# Description: Backends and filters for CUPS
# URL: https://github.com/OpenPrinting/cups-filters
2021-03-27 10:42:47 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libcupsfilters libppd
# Optional: avahi mupdf poppler
2012-10-27 16:08:06 +02:00
name=cups-filters
version=2.0.0
2019-05-16 08:06:44 +02:00
release=1
source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz)
2012-10-27 16:08:06 +02:00
2021-03-27 10:42:47 +01:00
build() {
cd $name-$version
2012-10-27 16:08:06 +02:00
prt-get isinst avahi || PKGMK_CUPSFILTERS+=' --disable-avahi'
prt-get isinst mupdf || PKGMK_CUPSFILTERS+=' --disable-mutool'
prt-get isinst poppler || PKGMK_CUPSFILTERS+=' --disable-poppler'
2012-10-27 16:08:06 +02:00
./configure $PKGMK_CUPSFILTERS --prefix=/usr
2021-03-27 10:42:47 +01:00
make
make DESTDIR=$PKG install
2019-03-26 17:42:19 +01:00
2021-03-27 10:42:47 +01:00
rm -r $PKG/usr/share/doc
2012-10-27 16:08:06 +02:00
}