2020-07-15 00:45:53 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/Z3Prover/z3
|
|
|
|
TERMUX_PKG_DESCRIPTION="Z3 is a theorem prover from Microsoft Research."
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-02-09 12:30:42 +01:00
|
|
|
TERMUX_PKG_VERSION=4.8.14
|
2020-07-15 00:45:53 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/Z3Prover/z3/archive/z3-$TERMUX_PKG_VERSION.tar.gz
|
2022-02-09 12:30:42 +01:00
|
|
|
TERMUX_PKG_SHA256=96a1f49a7701120cc38bfa63c02ff93be4d64c7926cea41977dedec7d87a1364
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="\d+\.\d+\.\d+"
|
2020-07-15 00:45:53 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_configure() {
|
2020-10-17 23:09:44 +02:00
|
|
|
_PYTHON_VERSION=$(source $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
|
|
|
|
|
2020-07-15 00:45:53 +02:00
|
|
|
chmod +x scripts/mk_make.py
|
2020-10-17 23:25:14 +02:00
|
|
|
CXX="$CXX" CC="$CC" python${_PYTHON_VERSION} scripts/mk_make.py --prefix=$TERMUX_PREFIX --build=$TERMUX_PKG_BUILDDIR
|
2021-07-26 11:49:03 +02:00
|
|
|
if $TERMUX_ON_DEVICE_BUILD; then
|
|
|
|
sed 's%../../../../../../../../%%g' -i Makefile
|
|
|
|
else
|
|
|
|
sed 's%../../../../../%%g' -i Makefile
|
|
|
|
fi
|
2020-07-15 00:45:53 +02:00
|
|
|
sed 's/\-lpthread//g' -i config.mk
|
|
|
|
}
|