0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 21:29:06 +00:00
2024-06-17 13:05:02 +00:00

28 lines
915 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.10"
PKG_SHA256="b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c"
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_HOST="toolchain:host gmp:host"
PKG_DEPENDS_TARGET="toolchain gmp"
PKG_LONGDESC="A low-level cryptographic library."
PKG_CONFIGURE_OPTS_COMMON="--disable-documentation \
--disable-openssl"
PKG_CONFIGURE_OPTS_HOST="${PKG_CONFIGURE_OPTS_COMMON}"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_COMMON}"
if target_has_feature neon; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-arm-neon"
fi
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}