From bc76ed3e0b217950cd928793e7742b9bf2899154 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 22 Jan 2017 10:13:51 +0000 Subject: sci-libs/cxsparse: Add 32bit support Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher --- sci-libs/cxsparse/cxsparse-3.1.2.ebuild | 20 ++++++++++++++++---- sci-libs/cxsparse/metadata.xml | 10 +++++----- 2 files changed, 21 insertions(+), 9 deletions(-) (limited to 'sci-libs') diff --git a/sci-libs/cxsparse/cxsparse-3.1.2.ebuild b/sci-libs/cxsparse/cxsparse-3.1.2.ebuild index 866f66333108..f3e828931624 100644 --- a/sci-libs/cxsparse/cxsparse-3.1.2.ebuild +++ b/sci-libs/cxsparse/cxsparse-3.1.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit autotools-utils +inherit multilib-minimal DESCRIPTION="Extended sparse matrix package" HOMEPAGE="http://www.cise.ufl.edu/research/sparse/CXSparse/" @@ -15,6 +15,18 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" IUSE="static-libs" -RDEPEND="sci-libs/suitesparseconfig" +RDEPEND="sci-libs/suitesparseconfig[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND} virtual/pkgconfig" + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name "*.la" -delete || die + fi +} diff --git a/sci-libs/cxsparse/metadata.xml b/sci-libs/cxsparse/metadata.xml index d0d5fedd4eb6..fb290bc72702 100644 --- a/sci-libs/cxsparse/metadata.xml +++ b/sci-libs/cxsparse/metadata.xml @@ -1,11 +1,11 @@ - - sci@gentoo.org - Gentoo Science Project - - + + sci@gentoo.org + Gentoo Science Project + + CXSparse is an extended version of CSparse, a sparse matrix package, with support for double or complex matrices, with int or long integers. -- cgit v1.2.3-65-gdbad