Update vim to patch 8.0.1400 (#1945)
[termux-packages] / packages / libunwind / build.sh
... / ...
CommitLineData
1TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/libunwind/
2TERMUX_PKG_DESCRIPTION="Library to determine the call-chain of a program"
3# Use master and the commit date as version suffix:
4local _COMMIT=2b8ab794b3a636c05396fdbaebbba25d8aa4722a
5TERMUX_PKG_VERSION=1.2.20170304
6TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/archive/${_COMMIT}.zip
7TERMUX_PKG_SHA256=fdbe8f0348a0db86663fdf7a363fcb281fef220f85bd751db8ed13aca00c062d
8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
9--disable-tests
10--disable-coredump
11--disable-minidebuginfo
12"
13
14termux_step_post_extract_package() {
15 NOCONFIGURE=1 ./autogen.sh
16}
17
18termux_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}