blob: c4648a02ef137d76aa43053847713ec803950a98 (
plain)
1 # Description: CUPS - Common UNIX Printing System
2 # URL: https://www.cups.org
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: avahi-32 cups
5 # Optional: dbus-32 gnutls-32
6
7 name=cups-32
8 version=2.4.2
9 release=1
10 source=(https://github.com/OpenPrinting/cups/releases/download/v$version/${name%-*}-$version-source.tar.gz)
11
12 build() {
13 cd ${name%-*}-$version
14
15 prt-get isinst gnutls-32 || PKGMK_CUPS+=' --without-tls'
16
17 CC=cc CXX=c++ \
18 ./configure \
19 --prefix=/usr $PKGMK_CUPS \
20 --sysconfdir=/etc \
21 --libdir=/usr/lib32 \
22 --localstatedir=/var \
23 --with-docdir=/usr/share/cups/doc \
24 --with-logdir=/var/log/cups \
25 --with-cups-user=daemon \
26 --with-cups-group=lp \
27 --with-languages="" \
28 --without-{java,perl,php,python} \
29 --without-rcdir \
30 --with-optim="$CFLAGS" \
31 --enable-acl \
32 --disable-{pam,dbus,dnssd,systemd} \
33 --without-systemd
34
35 make
36 make BUILDROOT=$PKG install-libs
37 }
|