From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/cups/cups.xibuild | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 repo/cups/cups.xibuild (limited to 'repo/cups/cups.xibuild') diff --git a/repo/cups/cups.xibuild b/repo/cups/cups.xibuild new file mode 100644 index 0000000..4ae9845 --- /dev/null +++ b/repo/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 +} -- cgit v1.2.1