termux-packages/packages/libunwind/build.sh

24 lines
789 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"
# Use master and the commit date as version suffix:
local _COMMIT=2b8ab794b3a636c05396fdbaebbba25d8aa4722a
TERMUX_PKG_VERSION=1.2.20170304
TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/archive/${_COMMIT}.zip
TERMUX_PKG_SHA256=fdbe8f0348a0db86663fdf7a363fcb281fef220f85bd751db8ed13aca00c062d
TERMUX_PKG_FOLDERNAME=libunwind-$_COMMIT
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-tests
--disable-coredump
--disable-minidebuginfo
"
termux_step_post_extract_package() {
NOCONFIGURE=1 ./autogen.sh
}
termux_step_post_massage() {
# Hack to fix problem with building arm c++ code
# which should not use this libunwind:
rm $TERMUX_PREFIX/lib/libunwind*
}