protobuf: Update from 3.3.2 to 3.4.1
[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_FOLDERNAME=libunwind-$_COMMIT
9TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
10--disable-tests
11--disable-coredump
12--disable-minidebuginfo
13"
14
15termux_step_post_extract_package() {
16 NOCONFIGURE=1 ./autogen.sh
17}
18
19termux_step_post_massage() {
20 # Hack to fix problem with building arm c++ code
21 # which should not use this libunwind:
22 rm $TERMUX_PREFIX/lib/libunwind*
23 rm $TERMUX_PREFIX/include/{unwind.h,libunwind*.h}
24}