stunnel: Update from 5.37 to 5.38
[termux-packages] / packages / libcln / build.sh
CommitLineData
94f1c11e
DM
1TERMUX_PKG_HOMEPAGE=http://www.ginac.de/CLN/
2TERMUX_PKG_DESCRIPTION="CLN is a library for efficient computations with all kinds of numbers in arbitrary precision"
3TERMUX_PKG_VERSION=1.3.4
4TERMUX_PKG_SRCURL=http://www.ginac.de/CLN/cln-${TERMUX_PKG_VERSION}.tar.bz2
5TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-gnu-ld=no"
1aad91bd 6TERMUX_PKG_DEPENDS="libgmp"
94f1c11e
DM
7TERMUX_PKG_BUILD_IN_SRC=yes
8
9termux_step_pre_configure() {
5a7db8c6
FF
10 if [ $TERMUX_ARCH = arm ]; then
11 # See the following section in INSTALL:
12 # "(*) On these platforms, problems with the assembler routines have been
13 # reported. It may be best to add "-DNO_ASM" to CPPFLAGS before configuring."
14 CPPFLAGS+=" -DNO_ASM"
15 fi
16
17 cd $TERMUX_PKG_SRCDIR
18 sed -i -e 's%tests/Makefile %%' configure.ac
19 sed -i -e 's%examples/Makefile %%' configure.ac
20 sed -i -e 's%benchmarks/Makefile %%' configure.ac
21
22 autoreconf
94f1c11e
DM
23}
24
25termux_step_post_configure() {
5a7db8c6
FF
26 cd $TERMUX_PKG_SRCDIR
27 sed -i -e 's% tests%%' Makefile
28 sed -i -e 's% examples%%' Makefile
29 sed -i -e 's% benchmarks%%' Makefile
30}