distribution/packages/security/gnutls/package.mk
2022-08-31 23:27:58 -07:00

31 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gnutls"
PKG_VERSION="3.7.4"
PKG_SHA256="e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f"
PKG_LICENSE="LGPL2.1"
PKG_SITE="https://gnutls.org"
PKG_URL="https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKG_VERSION:0:3}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libidn2 nettle zlib valgrind"
PKG_LONGDESC="A library which provides a secure layer over a reliable transport layer."
PKG_CONFIGURE_OPTS_TARGET="--disable-doc \
--disable-full-test-suite \
--disable-guile \
--disable-libdane \
--disable-padlock \
--disable-rpath \
--disable-tests \
--disable-tools \
--disable-valgrind-tests \
--with-idn \
--with-included-libtasn1 \
--with-included-unistring \
--without-p11-kit \
--without-tpm"
post_configure_target() {
libtool_remove_rpath libtool
}