2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libffi"
|
2022-12-06 22:00:30 +00:00
|
|
|
PKG_VERSION="3.4.4"
|
|
|
|
PKG_SHA256="d66c56ad259a82cf2a9dfc408b32bf5da52371500b84745f7fb8b645712df676"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://sourceware.org/${PKG_NAME}/"
|
2022-02-27 23:34:12 +00:00
|
|
|
PKG_URL="https://github.com/libffi/libffi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host pkg-config:host"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="Foreign Function Interface Library."
|
|
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-debug \
|
2022-11-01 10:04:06 +00:00
|
|
|
--enable-static --disable-shared \
|
2022-02-05 14:23:32 +00:00
|
|
|
--with-pic \
|
|
|
|
--enable-structs \
|
|
|
|
--enable-raw-api \
|
|
|
|
--disable-purify-safety \
|
|
|
|
--with-gnu-ld"
|