2019-03-26 15:59:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-07-16 20:45:36 +02:00
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
2018-02-05 11:37:16 +01:00
|
|
|
|
|
|
|
|
PKG_NAME="libunwind"
|
2021-12-01 09:53:12 +00:00
|
|
|
PKG_VERSION="1.6.2"
|
|
|
|
|
PKG_SHA256="4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976"
|
2018-02-05 11:37:16 +01:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
|
PKG_SITE="http://www.nongnu.org/libunwind/"
|
|
|
|
|
PKG_URL="http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PKG_VERSION}.tar.gz"
|
2021-12-05 08:20:11 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain zlib"
|
2018-02-05 11:37:16 +01:00
|
|
|
PKG_LONGDESC="library to determine the call-chain of a program"
|
2020-02-16 04:23:53 +00:00
|
|
|
PKG_BUILD_FLAGS="+pic"
|
2021-07-18 08:20:39 +00:00
|
|
|
PKG_TOOLCHAIN="autotools"
|
2018-02-05 11:37:16 +01:00
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
2020-02-16 04:23:53 +00:00
|
|
|
--disable-shared \
|
|
|
|
|
--disable-minidebuginfo \
|
|
|
|
|
--disable-documentation \
|
|
|
|
|
--disable-tests"
|
2018-02-17 13:00:42 +01:00
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2021-01-19 19:33:44 +00:00
|
|
|
make DESTDIR=${SYSROOT_PREFIX} install
|
2018-02-17 13:00:42 +01:00
|
|
|
}
|