void-packages/srcpkgs/superlu/template
Colin Booth 628ca3e775 superlu: update to 5.2.2
Updates homepage and distfiles locations to match current reality and
adds the changelog.
2021-05-14 18:18:16 -03:00

33 lines
928 B
Bash

# Template file for 'superlu'
pkgname=superlu
version=5.2.2
revision=1
build_style=cmake
configure_args="-DUSE_XSDK_DEFAULTS=TRUE"
hostmakedepends="gcc-fortran"
makedepends="openblas-devel"
short_desc="Solution of large, sparse, nonsymmetric systems of linear equations"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
license="BSD-3-Clause"
homepage="https://portal.nersc.gov/project/sparse/superlu/"
changelog="https://portal.nersc.gov/project/sparse/superlu/changes.html#slu_change"
distfiles="https://portal.nersc.gov/project/sparse/superlu/superlu_${version}.tar.gz"
checksum=470334a72ba637578e34057f46948495e601a5988a602604f5576367e606a28c
pre_configure() {
export LDFLAGS="-fPIC"
}
post_install() {
vlicense License.txt
}
superlu-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/libsuperlu.so"
}
}