aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2013-12-09 09:26:55 -0800
committerSébastien Fabbro <bicatali@gentoo.org>2013-12-09 09:26:55 -0800
commitc6a5bc93dd337ffbd26dd137ef3b18213aa5af87 (patch)
treec89a2e4e821f3e68bf4c1509153a151296c64821
parentfixed src_prepare for reflapacke (diff)
downloadsci-c6a5bc93dd337ffbd26dd137ef3b18213aa5af87.tar.gz
sci-c6a5bc93dd337ffbd26dd137ef3b18213aa5af87.tar.bz2
sci-c6a5bc93dd337ffbd26dd137ef3b18213aa5af87.zip
sci-libs/tmglib: Version bump
Package-Manager: portage-2.2.7-prefix
-rw-r--r--sci-libs/tmglib/ChangeLog5
-rw-r--r--sci-libs/tmglib/Manifest1
-rw-r--r--sci-libs/tmglib/tmglib-3.5.0.ebuild61
3 files changed, 67 insertions, 0 deletions
diff --git a/sci-libs/tmglib/ChangeLog b/sci-libs/tmglib/ChangeLog
index b923543b8..54e33f93d 100644
--- a/sci-libs/tmglib/ChangeLog
+++ b/sci-libs/tmglib/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*tmglib-3.5.0 (09 Dec 2013)
+
+ 09 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org> +tmglib-3.5.0.ebuild:
+ sci-libs/tmglib: Version bump
+
22 Feb 2013; Justin Lecher <jlec@gentoo.org> tmglib-3.4.2.ebuild,
metadata.xml:
Add missing dep on virtual/blas
diff --git a/sci-libs/tmglib/Manifest b/sci-libs/tmglib/Manifest
index 4e50a7e07..279e75768 100644
--- a/sci-libs/tmglib/Manifest
+++ b/sci-libs/tmglib/Manifest
@@ -1 +1,2 @@
DIST lapack-3.4.2.tgz 6168281 SHA256 60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0 SHA512 8770214491e31f0a7a3efaade90eee7b0eb20a8a6ab635c5f854d78263f59a1849133c14ef5123d01023f0110cbb9fc6f818da053c01277914ae81473430a952 WHIRLPOOL ca1333abaed2377e29acd08feee58241ba63b981ac5946dd9da663ed9c760e476ec3933a4989a964a66f5aaa72c868cd7f274259bc0dde0299d63fe60a3139fa
+DIST lapack-3.5.0.tgz 6313139 SHA256 9ad8f0d3f3fb5521db49f2dd716463b8fb2b6bc9dc386a9956b8c6144f726352 SHA512 b948a0a0db032bda455ec4f519d4e89e4c29e29cecb5b6258ca61f68faaeeac9fdf4ece5c39ffcd0154c5505facbc392c7d09c8348b1d60bdd2685153ab2543f WHIRLPOOL c97a3e843bbef0b79e47cf13a7b2173eeaada52f6059492edeb1a6558ecfb33c637c6f62ad77bfd2c468884becf7becb87bb476f6f5f41572d374dc1bd745c52
diff --git a/sci-libs/tmglib/tmglib-3.5.0.ebuild b/sci-libs/tmglib/tmglib-3.5.0.ebuild
new file mode 100644
index 000000000..0c7628330
--- /dev/null
+++ b/sci-libs/tmglib/tmglib-3.5.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils fortran-2
+
+MYP=lapack-${PV}
+
+DESCRIPTION="Test Matrix Generator library for LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ use static-libs && mkdir "${WORKDIR}/${PN}_static"
+}
+
+src_configure() {
+ tmg_configure() {
+ local mycmakeargs=(
+ -DUSE_OPTIMIZED_BLAS=ON
+ -DUSE_OPTIMIZED_LAPACK=ON
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
+ -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
+ -DTESTING=ON
+ $@
+ )
+ cmake-utils_src_configure
+ }
+
+ tmg_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+ use static-libs && \
+ CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" tmg_configure \
+ -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+ cmake-utils_src_compile -C TESTING/MATGEN
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_compile -C TESTING/MATGEN
+}
+
+src_install() {
+ cmake-utils_src_install -C TESTING/MATGEN
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_install -C TESTING/MATGEN
+}