diff --git a/common/shlibs b/common/shlibs index e1333d097c..c23777289f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/superlu-devel b/srcpkgs/superlu-devel new file mode 120000 index 0000000000..72ce48b1f9 --- /dev/null +++ b/srcpkgs/superlu-devel @@ -0,0 +1 @@ +superlu \ No newline at end of file diff --git a/srcpkgs/superlu/template b/srcpkgs/superlu/template new file mode 100644 index 0000000000..d79d9938f1 --- /dev/null +++ b/srcpkgs/superlu/template @@ -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 " +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" + } +} +