35 lines
994 B
Bash
35 lines
994 B
Bash
# Template file for 'superlu'
|
|
pkgname=superlu
|
|
version=6.0.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_XSDK_DEFAULTS=TRUE -DBUILD_SHARED_LIBS=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://github.com/xiaoyeli/superlu/archive/v${version}.tar.gz"
|
|
checksum=6c5a3a9a224cb2658e9da15a6034eed44e45f6963f5a771a6b4562f7afb8f549
|
|
|
|
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/cmake"
|
|
vmove "usr/lib/pkgconfig"
|
|
vmove "usr/lib/libsuperlu.so"
|
|
}
|
|
}
|