compat-32/cups-32/Pkgfile

37 lines
847 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
2019-08-04 14:23:32 +02:00
name=cups-32
2019-12-17 12:56:44 +01:00
version=2.3.1
2019-08-04 14:23:32 +02:00
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
}