| 1 | TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/libunwind/ |
| 2 | TERMUX_PKG_DESCRIPTION="Library to determine the call-chain of a program" |
| 3 | # Use master and the commit date as version suffix: |
| 4 | local _COMMIT=2b8ab794b3a636c05396fdbaebbba25d8aa4722a |
| 5 | TERMUX_PKG_VERSION=1.2.20170304 |
| 6 | TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/archive/${_COMMIT}.zip |
| 7 | TERMUX_PKG_SHA256=fdbe8f0348a0db86663fdf7a363fcb281fef220f85bd751db8ed13aca00c062d |
| 8 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
| 9 | --disable-tests |
| 10 | --disable-coredump |
| 11 | --disable-minidebuginfo |
| 12 | " |
| 13 | |
| 14 | termux_step_post_extract_package() { |
| 15 | NOCONFIGURE=1 ./autogen.sh |
| 16 | } |
| 17 | |
| 18 | termux_step_post_massage() { |
| 19 | # Hack to fix problem with building arm c++ code |
| 20 | # which should not use this libunwind: |
| 21 | rm $TERMUX_PREFIX/lib/libunwind* |
| 22 | rm $TERMUX_PREFIX/include/{unwind.h,libunwind*.h} |
| 23 | } |