distribution/packages/security/nettle/package.mk

24 lines
726 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# 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)
2023-05-09 19:21:47 +00:00
# Copyright (C) 2023-present Fewtarius
2022-02-05 14:23:32 +00:00
PKG_NAME="nettle"
2023-05-09 19:21:47 +00:00
PKG_VERSION="3.8.1"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL2"
PKG_SITE="http://www.lysator.liu.se/~nisse/nettle"
2022-04-14 11:56:57 +00:00
PKG_URL="http://ftpmirror.gnu.org/gnu/nettle/nettle-${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
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() {
2022-04-14 11:56:57 +00:00
rm -rf ${INSTALL}/usr/bin
2022-02-05 14:23:32 +00:00
}