mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package: add package 'gnutls'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
155f3d2e9e
commit
8287244fc1
36
packages/security/gnutls/build
Executable file
36
packages/security/gnutls/build
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
# gnutls fails compiling with LTO support
|
||||
strip_lto
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
ac_cv_libz=yes \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-cxx \
|
||||
--enable-openssl-compatibility \
|
||||
--disable-guile \
|
||||
--with-included-opencdk \
|
||||
--with-included-libtasn1 \
|
||||
--with-lzo \
|
||||
--with-included-libcfg \
|
||||
--without-libreadline-prefix \
|
||||
--with-libgcrypt-prefix="$SYSROOT_PREFIX/usr" \
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-doc-html \
|
||||
--disable-gtk-doc-pdf \
|
||||
--disable-nls \
|
||||
--with-gnu-ld
|
||||
|
||||
# --enable-cryptodev \ # TODO: add later
|
||||
|
||||
make
|
||||
$MAKEINSTALL
|
7
packages/security/gnutls/install
Executable file
7
packages/security/gnutls/install
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/lib/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libextra/.libs/*.so* $INSTALL/usr/lib
|
16
packages/security/gnutls/meta
Normal file
16
packages/security/gnutls/meta
Normal file
@ -0,0 +1,16 @@
|
||||
PKG_NAME="gnutls"
|
||||
PKG_VERSION="2.10.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gnutls.org/"
|
||||
PKG_URL="ftp://ftp.gnutls.org/pub/gnutls/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="zlib libgcrypt"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib libgcrypt"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="security"
|
||||
PKG_SHORTDESC="gnutls: Development Library for TLS applications"
|
||||
PKG_LONGDESC="GnuTLS is a project that aims to develop a library which provides a secure layer, over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group. Quoting from RFC2246 - the TLS 1.0 protocol specification: The TLS protocol provides communications privacy over the Internet. The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
Loading…
x
Reference in New Issue
Block a user