2019-08-04 22:23:32 +10:00
|
|
|
# Description: CUPS - Common UNIX Printing System
|
|
|
|
# URL: https://www.cups.org
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: avahi-32 cups
|
2021-12-12 14:19:30 +11:00
|
|
|
# Optional: dbus-32 gnutls-32
|
2019-08-04 22:23:32 +10:00
|
|
|
|
|
|
|
name=cups-32
|
2024-10-01 22:11:03 +02:00
|
|
|
version=2.4.11
|
2019-08-04 22:23:32 +10:00
|
|
|
release=1
|
2021-12-12 16:59:18 +11:00
|
|
|
source=(https://github.com/OpenPrinting/cups/releases/download/v$version/${name%-*}-$version-source.tar.gz)
|
2019-08-04 22:23:32 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name%-*}-$version
|
|
|
|
|
2023-09-21 19:08:25 +02:00
|
|
|
PKGMK_CUPS=' --with-tls=openssl'
|
|
|
|
prt-get isinst gnutls-32 && PKGMK_CUPS=' --with-tls=gnutls'
|
|
|
|
|
2021-12-12 14:19:30 +11:00
|
|
|
|
|
|
|
CC=cc CXX=c++ \
|
2019-08-04 22:23:32 +10:00
|
|
|
./configure \
|
2021-12-12 14:19:30 +11:00
|
|
|
--prefix=/usr $PKGMK_CUPS \
|
2019-08-04 22:23:32 +10:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-docdir=/usr/share/cups/doc \
|
|
|
|
--with-logdir=/var/log/cups \
|
|
|
|
--with-cups-user=daemon \
|
|
|
|
--with-cups-group=lp \
|
|
|
|
--with-languages="" \
|
|
|
|
--without-{java,perl,php,python} \
|
|
|
|
--without-rcdir \
|
|
|
|
--with-optim="$CFLAGS" \
|
|
|
|
--enable-acl \
|
|
|
|
--disable-{pam,dbus,dnssd,systemd} \
|
2021-12-12 14:19:30 +11:00
|
|
|
--without-systemd
|
2019-08-04 22:23:32 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make BUILDROOT=$PKG install-libs
|
|
|
|
}
|