gnutls: initial package

This commit is contained in:
CvH 2019-01-09 11:38:56 +01:00
parent 34f09f423e
commit 0568159e5f

View File

@ -0,0 +1,30 @@
# 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.6.5"
PKG_SHA256="073eced3acef49a3883e69ffd5f0f0b5f46e2760ad86eddc6c0866df4e7abb35"
PKG_LICENSE="LGPL2.1"
PKG_SITE="https://gnutls.org"
PKG_URL="https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKG_VERSION%.*}/gnutls-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libidn2 nettle zlib"
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-tests \
--disable-tools \
--disable-valgrind-tests \
--enable-local-libopts \
--with-idn \
--with-included-libtasn1 \
--with-included-unistring \
--without-p11-kit \
--without-tpm"
makeinstall_target() {
make install DESTDIR="$INSTALL/../.INSTALL_PKG"
}