mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
8ffc79ae79
Co-Authored-By: MURAMATSU Atshshi <amura@tomato.sakura.ne.jp>
31 lines
948 B
Bash
31 lines
948 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/mpimd-csc/qrupdate-ng
|
|
TERMUX_PKG_DESCRIPTION="A Library for Fast Updating of QR and Cholesky Decompositions."
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.1.5
|
|
TERMUX_PKG_SRCURL=https://github.com/mpimd-csc/qrupdate-ng/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=912426f7cb9436bb3490c3102a64d9a2c3883d700268a26d4d738b7607903757
|
|
TERMUX_PKG_DEPENDS="libopenblas"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DCMAKE_SYSTEM_NAME=Linux
|
|
"
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_flang
|
|
}
|
|
|
|
termux_step_post_massage() {
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
# after SOVERSION is changed.
|
|
local _SOVERSION_GUARD_FILES="
|
|
lib/libqrupdate.so.1
|
|
"
|
|
local f
|
|
for f in ${_SOVERSION_GUARD_FILES}; do
|
|
if [ ! -e "${f}" ]; then
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
fi
|
|
done
|
|
}
|