27 lines
775 B
Makefile
27 lines
775 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2017 Escalade
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="cups"
|
|
PKG_VERSION="2.4.6"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.cups.org"
|
|
PKG_URL="https://github.com/openprinting/cups/archive/v${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain gnutls zlib"
|
|
PKG_LONGDESC="CUPS printing system."
|
|
PKG_BUILD_FLAGS="+pic -sysroot"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
|
|
--disable-gssapi \
|
|
--with-dnssd=no \
|
|
--with-tls=gnutls
|
|
--disable-unit-tests"
|
|
|
|
pre_configure_target() {
|
|
cd ..
|
|
rm -rf .${TARGET_NAME}
|
|
}
|
|
|
|
makeinstall_target() {
|
|
make BUILDROOT="${INSTALL}" install
|
|
}
|