You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
579 B
14 lines
579 B
TERMUX_PKG_HOMEPAGE=https://gmplib.org/
|
|
TERMUX_PKG_DESCRIPTION="Library for arbitrary precision arithmetic"
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
|
TERMUX_PKG_VERSION=6.2.0
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gmp/gmp-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
|
|
TERMUX_PKG_BREAKS="libgmp-dev"
|
|
TERMUX_PKG_REPLACES="libgmp-dev"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-cxx"
|
|
|
|
termux_step_pre_configure() {
|
|
# the cxx tests fail because it won't link properly without this
|
|
CXXFLAGS+=" -L$TERMUX_PREFIX/lib"
|
|
}
|
|
|