void-packages/srcpkgs/superlu/template

34 lines
855 B
Bash
Raw Normal View History

2017-05-05 22:32:18 +00:00
# Template file for 'superlu'
pkgname=superlu
version=5.2.1
revision=1
build_style=cmake
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"
homepage="http://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
distfiles="http://crd-legacy.lbl.gov/~xiaoye/SuperLU/${pkgname}_${version}.tar.gz"
checksum=28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463
configure_args="-DUSE_XSDK_DEFAULTS=TRUE"
wrksrc="SuperLU_${version}"
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"
}
}