xorriso: remove unnecessary iconv dependency (#2368)
[termux-packages] / packages / libunwind / build.sh
CommitLineData
b682fb68
FF
1TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/libunwind/
2TERMUX_PKG_DESCRIPTION="Library to determine the call-chain of a program"
1400960e 3# Use master and the commit date as version suffix:
93af9238 4local _COMMIT=2b8ab794b3a636c05396fdbaebbba25d8aa4722a
1400960e 5TERMUX_PKG_VERSION=1.2.20170304
93af9238
FF
6TERMUX_PKG_SRCURL=https://github.com/libunwind/libunwind/archive/${_COMMIT}.zip
7TERMUX_PKG_SHA256=fdbe8f0348a0db86663fdf7a363fcb281fef220f85bd751db8ed13aca00c062d
13a3ce7f
FF
8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
9--disable-tests
10--disable-coredump
11--disable-minidebuginfo
12"
93af9238
FF
13
14termux_step_post_extract_package() {
15 NOCONFIGURE=1 ./autogen.sh
16}
cad8832e
FF
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*
a989340d 22 rm $TERMUX_PREFIX/include/{unwind.h,libunwind*.h}
cad8832e 23}