termux-packages/packages/libunwind/build.sh

22 lines
791 B
Bash
Raw Normal View History

2016-09-04 17:31:27 +02:00
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/libunwind/
TERMUX_PKG_DESCRIPTION="Library to determine the call-chain of a program"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.3.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8
TERMUX_PKG_BREAKS="libunwind-dev"
TERMUX_PKG_REPLACES="libunwind-dev"
TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/releases/download/v$TERMUX_PKG_VERSION/libunwind-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-tests
--disable-coredump
--disable-minidebuginfo
"
termux_step_post_massage() {
# Hack to fix problem with building arm c++ code
# which should not use this libunwind:
rm $TERMUX_PREFIX/lib/libunwind*
rm $TERMUX_PREFIX/include/{unwind.h,libunwind*.h}
}