new package: qrupdate-ng
Co-Authored-By: MURAMATSU Atshshi <amura@tomato.sakura.ne.jp>
This commit is contained in:
parent
1117c7e7e9
commit
8ffc79ae79
|
@ -0,0 +1,30 @@
|
|||
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
|
||||
}
|
Loading…
Reference in New Issue