2012-10-27 16:08:06 +02:00
|
|
|
# Description: Backends and filters for CUPS
|
2021-03-27 10:42:47 +01:00
|
|
|
# URL: https://openprinting.github.io/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2022-08-31 10:49:41 +02:00
|
|
|
# Depends on: ghostscript libexif mupdf poppler qpdf xorg-font-dejavu-ttf
|
2012-10-27 16:08:06 +02:00
|
|
|
|
|
|
|
name=cups-filters
|
2022-08-27 11:17:56 +02:00
|
|
|
version=1.28.16
|
2019-05-16 08:06:44 +02:00
|
|
|
release=1
|
2017-12-20 17:00:56 +01:00
|
|
|
source=(https://www.openprinting.org/download/$name/$name-$version.tar.xz
|
2021-03-27 10:42:47 +01:00
|
|
|
cups-browsed)
|
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
|
|
|
|
2021-03-27 10:42:47 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
2022-02-20 16:32:59 +01:00
|
|
|
--runstatedir=/run \
|
|
|
|
--with-cups-rundir=/run/cups \
|
2021-03-27 10:42:47 +01:00
|
|
|
--without-php \
|
|
|
|
--disable-avahi \
|
|
|
|
--disable-dbus \
|
|
|
|
--disable-braille \
|
|
|
|
--without-rcdir \
|
|
|
|
--with-browseremoteprotocols=cups
|
2012-10-27 16:08:06 +02:00
|
|
|
|
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
|
|
|
install -D -m 0755 $SRC/cups-browsed $PKG/etc/rc.d/cups-browsed
|
2012-10-27 16:08:06 +02:00
|
|
|
|
2021-03-27 10:42:47 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2012-10-27 16:08:06 +02:00
|
|
|
}
|