compat-32/cups-32/Pkgfile

40 lines
965 B
Plaintext
Raw Normal View History

2019-08-04 14:23:32 +02: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 13:48:19 +02:00
# Depends on: avahi-32 cups
2021-12-12 04:19:30 +01:00
# Optional: dbus-32 gnutls-32
2019-08-04 14:23:32 +02:00
name=cups-32
2024-06-22 02:30:46 +02:00
version=2.4.10
2019-08-04 14:23:32 +02:00
release=1
2021-12-12 06:59:18 +01:00
source=(https://github.com/OpenPrinting/cups/releases/download/v$version/${name%-*}-$version-source.tar.gz)
2019-08-04 14:23:32 +02: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 04:19:30 +01:00
CC=cc CXX=c++ \
2019-08-04 14:23:32 +02:00
./configure \
2021-12-12 04:19:30 +01:00
--prefix=/usr $PKGMK_CUPS \
2019-08-04 14:23:32 +02: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 04:19:30 +01:00
--without-systemd
2019-08-04 14:23:32 +02:00
make
make BUILDROOT=$PKG install-libs
}