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"
|
2017-03-19 20:27:44 +01:00
|
|
|
# Use master and the commit date as version suffix:
|
2017-03-19 16:53:11 +01:00
|
|
|
local _COMMIT=2b8ab794b3a636c05396fdbaebbba25d8aa4722a
|
2017-03-19 20:27:44 +01:00
|
|
|
TERMUX_PKG_VERSION=1.2.20170304
|
2017-03-19 16:53:11 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/archive/${_COMMIT}.zip
|
|
|
|
TERMUX_PKG_SHA256=fdbe8f0348a0db86663fdf7a363fcb281fef220f85bd751db8ed13aca00c062d
|
|
|
|
TERMUX_PKG_FOLDERNAME=libunwind-$_COMMIT
|
2017-08-10 00:17:05 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-tests
|
|
|
|
--disable-coredump
|
|
|
|
--disable-minidebuginfo
|
|
|
|
"
|
2017-03-19 16:53:11 +01:00
|
|
|
|
|
|
|
termux_step_post_extract_package() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
2017-08-08 12:18:28 +02:00
|
|
|
|
|
|
|
termux_step_post_massage() {
|
|
|
|
# Hack to fix problem with building arm c++ code
|
|
|
|
# which should not use this libunwind:
|
|
|
|
rm $TERMUX_PREFIX/lib/libunwind*
|
|
|
|
}
|