Lakka-LibreELEC/packages/security/nettle/package.mk
2022-07-29 09:42:42 +00:00

24 lines
760 B
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="nettle"
PKG_VERSION="3.8.1"
PKG_SHA256="364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd41cbfe"
PKG_LICENSE="GPL2"
PKG_SITE="http://www.lysator.liu.se/~nisse/nettle"
PKG_URL="https://ftp.gnu.org/gnu/nettle/nettle-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain gmp"
PKG_LONGDESC="A low-level cryptographic library."
PKG_CONFIGURE_OPTS_TARGET="--disable-documentation \
--disable-openssl"
if target_has_feature neon; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-arm-neon"
fi
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}