mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
19 lines
649 B
Bash
19 lines
649 B
Bash
TERMUX_PKG_HOMEPAGE="https://spglib.github.io/spglib/index.html"
|
|
TERMUX_PKG_DESCRIPTION="C library for finding and handling crystal symmetries"
|
|
TERMUX_PKG_GROUPS="science"
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="2.5.0"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL="https://github.com/spglib/spglib/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
|
|
TERMUX_PKG_SHA256=b6026f5e85106c0c9ee57e54b9399890d0f29982e20e96ede0428b3efbe6b914
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DSPGLIB_USE_OMP=ON
|
|
-DSPGLIB_WITH_Fortran=OFF
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
LDFLAGS+=" -fopenmp -static-openmp"
|
|
}
|