diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
commit | 0b977787374349328a21af0deade30d534cf3978 (patch) | |
tree | 3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/system/cups/cups.xibuild | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
fixed gcc loader/linker errors
Diffstat (limited to 'repo/system/cups/cups.xibuild')
-rw-r--r-- | repo/system/cups/cups.xibuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/repo/system/cups/cups.xibuild b/repo/system/cups/cups.xibuild new file mode 100644 index 0000000..4ae9845 --- /dev/null +++ b/repo/system/cups/cups.xibuild @@ -0,0 +1,51 @@ +#!/bin/sh + +NAME="cups" +DESC="The CUPS Printing System" + +MAKEDEPS="make " +DEPS="sbase dbus libusb musl openssl poppler " + +PKG_VER=2.4.1 +SOURCE="https://github.com/OpenPrinting/cups/archive/v$PKG_VER.tar.gz" +ADDITIONAL="default-config-no-gssapi.patch cups-no-export-ssllibs.patch " + +prepare () { + apply_patches +} + +build () { + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-menudir=/usr/share/applications \ + --with-icondir=/usr/share/icons \ + --with-logdir=/var/log/cups \ + --with-docdir=/usr/share/cups \ + --with-rundir=/run/cups \ + --with-cupsd-file-perm=0755 \ + --with-cups-user=lp \ + --with-cups-group=lp \ + --with-system-groups=lpadmin \ + --with-domainsocket=/run/cups/cups.sock \ + --enable-libusb \ + --without-rcdir \ + --without-php \ + --disable-pam \ + --enable-raw-printing \ + --enable-dbus \ + --with-dbusdir=/usr/share/dbus-1 \ + --enable-libpaper \ + --enable-ssl=yes \ + --enable-gnutls \ + --disable-launchd \ + --with-optim="$CFLAGS" + + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |