compat-32/cups-32/Pkgfile

38 lines
926 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
2022-01-28 12:41:38 +01:00
version=2.4.1
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
2021-12-12 04:19:30 +01:00
prt-get isinst gnutls-32 || PKGMK_CUPS+=' --without-tls'
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
}