Files
Arch-R/packages/debug/libunwind/package.mk
2025-05-24 07:13:57 +00:00

24 lines
847 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libunwind"
PKG_VERSION="1.8.2"
PKG_SHA256="3b888e01f3d25f7914bbfd31139066bb4547e079322975134b03c92e4c6a2066"
PKG_LICENSE="GPL"
PKG_SITE="https://www.nongnu.org/libunwind/"
PKG_URL="https://github.com/libunwind/libunwind/archive/refs/tags/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="autotools:host gcc:host zlib"
PKG_LONGDESC="library to determine the call-chain of a program"
PKG_BUILD_FLAGS="+pic"
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--disable-minidebuginfo \
--disable-documentation \
--disable-tests"
makeinstall_target() {
make DESTDIR=${SYSROOT_PREFIX} install
}