New package: superlu-5.2.1

This commit is contained in:
Julien Dehos 2017-05-06 00:32:18 +02:00
parent ba954a564a
commit 0f14ed643a
3 changed files with 35 additions and 0 deletions

View File

@ -2845,3 +2845,4 @@ libbaccfg-7.4.7.so bacula-common-7.4.7_1
libbacfind-7.4.7.so bacula-common-7.4.7_1
libbacsql-7.4.7.so bacula-common-7.4.7_1
libbaccats-7.4.7.so bacula-common-7.4.7_1
libsuperlu.so.5 superlu-5.2.1_1

1
srcpkgs/superlu-devel Symbolic link
View File

@ -0,0 +1 @@
superlu

33
srcpkgs/superlu/template Normal file
View File

@ -0,0 +1,33 @@
# 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"
}
}