2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://gmplib.org/
|
2017-01-14 09:41:59 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Library for arbitrary precision arithmetic"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-11-22 01:49:58 +01:00
|
|
|
TERMUX_PKG_VERSION=6.2.1
|
2022-03-19 08:09:57 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-08-22 16:43:24 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gmp/gmp-${TERMUX_PKG_VERSION}.tar.xz
|
2020-11-22 01:49:58 +01:00
|
|
|
TERMUX_PKG_SHA256=fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
|
2022-03-19 08:09:57 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libgmp-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libgmp-dev"
|
2018-04-09 23:41:28 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-cxx"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-03-19 08:09:57 +01:00
|
|
|
# the cxx tests fail because it won't link properly without this
|
|
|
|
CXXFLAGS+=" -L$TERMUX_PREFIX/lib"
|
2018-04-09 23:41:28 +02:00
|
|
|
}
|