summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-26 11:05:22 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-26 11:05:22 +0000
commit808f1cf0d008e358fdd578727ad28341e738851d (patch)
treef9a268d6b16f17890a085272f6a9478a411cc0b4 /sci-libs/taucs
parentalpha/sparc stable wrt #369897 (diff)
downloadgentoo-2-808f1cf0d008e358fdd578727ad28341e738851d.tar.gz
gentoo-2-808f1cf0d008e358fdd578727ad28341e738851d.tar.bz2
gentoo-2-808f1cf0d008e358fdd578727ad28341e738851d.zip
Corrected quoting, bumped EAPI
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/taucs')
-rw-r--r--sci-libs/taucs/ChangeLog5
-rw-r--r--sci-libs/taucs/metadata.xml10
-rw-r--r--sci-libs/taucs/taucs-2.2.ebuild30
3 files changed, 24 insertions, 21 deletions
diff --git a/sci-libs/taucs/ChangeLog b/sci-libs/taucs/ChangeLog
index 5170981e5396..7cb23a2d1be8 100644
--- a/sci-libs/taucs/ChangeLog
+++ b/sci-libs/taucs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/taucs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/ChangeLog,v 1.5 2011/06/21 14:45:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/ChangeLog,v 1.6 2011/06/26 11:05:22 jlec Exp $
+
+ 26 Jun 2011; Justin Lecher <jlec@gentoo.org> taucs-2.2.ebuild, metadata.xml:
+ Corrected quoting, bumped EAPI
21 Jun 2011; Justin Lecher <jlec@gentoo.org> taucs-2.2.ebuild:
Add dependency on virtual/fortran
diff --git a/sci-libs/taucs/metadata.xml b/sci-libs/taucs/metadata.xml
index 113faf54acf9..28598bd89723 100644
--- a/sci-libs/taucs/metadata.xml
+++ b/sci-libs/taucs/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
TAUCS is a C library of sparse linear solvers.
The current version of the library (1.0) includes the following
functionality:
@@ -23,7 +23,7 @@
* Multilevel-Support-Graph Preconditioners.
* Utility Routines
</longdescription>
-<use>
- <flag name='cilk'>Enable multithreading using <pkg>dev-lang/cilk</pkg>)</flag>
-</use>
+ <use>
+ <flag name="cilk">Enable multithreading using <pkg>dev-lang/cilk</pkg>)</flag>
+ </use>
</pkgmetadata>
diff --git a/sci-libs/taucs/taucs-2.2.ebuild b/sci-libs/taucs/taucs-2.2.ebuild
index a332042969fe..07d2dd6ca161 100644
--- a/sci-libs/taucs/taucs-2.2.ebuild
+++ b/sci-libs/taucs/taucs-2.2.ebuild
@@ -1,24 +1,23 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild,v 1.5 2011/06/21 14:45:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild,v 1.6 2011/06/26 11:05:22 jlec Exp $
-EAPI=2
-inherit eutils fortran-2 toolchain-funcs flag-o-matic
+EAPI=4
+
+inherit eutils flag-o-matic fortran-2 toolchain-funcs
DESCRIPTION="C library of sparse linear solvers"
HOMEPAGE="http://www.tau.ac.il/~stoledo/taucs/"
SRC_URI="http://www.tau.ac.il/~stoledo/${PN}/${PV}/${PN}.tgz -> ${P}.tgz"
-KEYWORDS="~amd64 ~x86"
+SLOT="0"
LICENSE="LGPL-2.1"
-
IUSE="cilk doc static-libs"
-SLOT="0"
+KEYWORDS="~amd64 ~x86"
RDEPEND="
- virtual/fortran
-
virtual/blas
+ virtual/fortran
virtual/lapack
|| ( sci-libs/metis sci-libs/parmetis )
cilk? ( dev-lang/cilk )"
@@ -55,10 +54,10 @@ src_compile() {
# not autotools configure
if use static-libs; then
./configure variant=_static || die
- emake || die
+ emake
fi
./configure variant=_shared || die
- emake || die
+ emake
cd lib/linux_shared
$(tc-getAR) x libtaucs.a
@@ -80,15 +79,16 @@ src_test() {
src_install() {
if use static-libs; then
- dolib.a lib/linux_static/libtaucs.a || die "static lib install failed"
+ dolib.a lib/linux_static/libtaucs.a
fi
- dolib.so lib/linux_shared/libtaucs.so.1.0.0 || die "shared lib install failed"
+ dolib.so lib/linux_shared/libtaucs.so.1.0.0
dosym libtaucs.so.1.0.0 /usr/$(get_libdir)/libtaucs.so.1
dosym libtaucs.so.1 /usr/$(get_libdir)/libtaucs.so
insinto /usr/include
- doins build/*/*.h src/*.h || die "headers install failed"
+ doins build/*/*.h src/*.h
- insinto /usr/share/doc/${PF}
- use doc && doins doc/*.pdf
+ use doc && \
+ insinto /usr/share/doc/${PF} && \
+ doins doc/*.pdf
}