From 0f14ed643aa39ed823fb4a94affc937b4381d41c Mon Sep 17 00:00:00 2001 From: Julien Dehos Date: Sat, 6 May 2017 00:32:18 +0200 Subject: [PATCH] New package: superlu-5.2.1 --- common/shlibs | 1 + srcpkgs/superlu-devel | 1 + srcpkgs/superlu/template | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/superlu-devel create mode 100644 srcpkgs/superlu/template diff --git a/common/shlibs b/common/shlibs index e1333d097cb..c23777289fa 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 00000000000..72ce48b1f9e --- /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 00000000000..d79d9938f17 --- /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" + } +} +