forked from ports/compat-32
37 lines
847 B
Plaintext
37 lines
847 B
Plaintext
# Description: CUPS - Common UNIX Printing System
|
|
# URL: https://www.cups.org
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: avahi-32 cups
|
|
|
|
name=cups-32
|
|
version=2.3.3
|
|
release=1
|
|
source=(https://github.com/apple/cups/releases/download/v$version/${name%-*}-$version-source.tar.gz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
CC=cc CXX=g++ \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--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} \
|
|
--disable-{gnutls,gssapi}
|
|
|
|
make
|
|
make BUILDROOT=$PKG install-libs
|
|
|
|
rm -r $PKG/usr/lib
|
|
}
|