summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/qrupdate/qrupdate-1.1.1.ebuild')
-rw-r--r--sci-libs/qrupdate/qrupdate-1.1.1.ebuild26
1 files changed, 11 insertions, 15 deletions
diff --git a/sci-libs/qrupdate/qrupdate-1.1.1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.1.ebuild
index 48c24fa8b274..ba903e1c933e 100644
--- a/sci-libs/qrupdate/qrupdate-1.1.1.ebuild
+++ b/sci-libs/qrupdate/qrupdate-1.1.1.ebuild
@@ -1,22 +1,21 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.1.1.ebuild,v 1.3 2011/06/21 14:46:14 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.1.1.ebuild,v 1.4 2011/12/17 03:48:33 bicatali Exp $
-EAPI="2"
+EAPI=4
-inherit eutils fortran-2 multilib toolchain-funcs
+inherit eutils fortran-2 versionator toolchain-funcs
-DESCRIPTION="A library for fast updating of QR and Cholesky decompositions"
+DESCRIPTION="Library for updating of QR and Cholesky decompositions"
HOMEPAGE="http://sourceforge.net/projects/qrupdate"
-SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
IUSE="static-libs"
-RDEPEND="
- virtual/fortran
+RDEPEND="virtual/fortran
virtual/lapack"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
@@ -34,16 +33,13 @@ src_prepare() {
}
src_compile() {
- emake solib || die "emake shared lib failed"
- if use static-libs; then
- emake lib || die "emake static lib failed"
- fi
+ emake solib
+ use static-libs && emake lib
}
src_install() {
- emake DESTDIR="${D}" install-shlib || die "emake shared lib install failed"
- if use static-libs; then
- emake DESTDIR="${D}" install-staticlib || die "emake static lib install failed"
- fi
+ emake DESTDIR="${D}" install-shlib
+ dosym libqrupdate.so.$(get_major_version) /usr/$(get_libdir)/libqrupdate.so
+ use static-libs && emake DESTDIR="${D}" install-staticlib
dodoc README ChangeLog
}