distribution/packages/security/nettle/package.mk
fewtarius 8f0bfde778
* Python 3.11.7, GCC 13.2.0, LLVM 17.0.6, GLIB 2.78.3, GZdoom (Latest).
* Update misc packages for GCC 13.
* Thanks to @CoreELEC (Python 3), @ArchLinux (lrps2), and @AmberELEC (EmulationStation).
2023-12-27 01:31:28 +00:00

25 lines
803 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)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="nettle"
PKG_VERSION="3.9.1"
PKG_LICENSE="GPL2"
PKG_SITE="http://www.lysator.liu.se/~nisse/nettle"
PKG_URL="http://ftp.gnu.org/gnu/nettle/nettle-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="gmp:host openssl:host"
PKG_DEPENDS_TARGET="toolchain gmp openssl"
PKG_LONGDESC="A low-level cryptographic library."
PKG_CONFIGURE_OPTS_HOST="--disable-documentation"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_HOST}"
if target_has_feature neon; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-arm-neon"
fi
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}