diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:06:35 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-05 18:06:35 +0000 |
commit | d05567ba34cc2c5035dff10a9df8fcede318a4eb (patch) | |
tree | c6d284f4ada27017c8d0f9949bd1c23bee2fb8b6 /sci-libs/camd/camd-2.2.0.ebuild | |
parent | Initial import. Thanks to Justin Bronder for his work, see bug #173900 (diff) | |
download | gentoo-2-d05567ba34cc2c5035dff10a9df8fcede318a4eb.tar.gz gentoo-2-d05567ba34cc2c5035dff10a9df8fcede318a4eb.tar.bz2 gentoo-2-d05567ba34cc2c5035dff10a9df8fcede318a4eb.zip |
Initial import. Thanks to Justin Bronder for his work, see bug #173900
(Portage version: 2.1.4)
Diffstat (limited to 'sci-libs/camd/camd-2.2.0.ebuild')
-rw-r--r-- | sci-libs/camd/camd-2.2.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/camd/camd-2.2.0.ebuild b/sci-libs/camd/camd-2.2.0.ebuild new file mode 100644 index 000000000000..108e481fe862 --- /dev/null +++ b/sci-libs/camd/camd-2.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/camd/camd-2.2.0.ebuild,v 1.1 2008/02/05 18:06:35 bicatali Exp $ + +inherit autotools eutils + +MY_PN=CAMD +DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/camd" +SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +DEPEND="sci-libs/ufconfig" + +S="${WORKDIR}/${MY_PN}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README.txt Doc/ChangeLog || die "dodoc failed" + if use doc; then + insinto /usr/share/doc/${PF} + doins Doc/CAMD_UserGuide.pdf || die "pdf install failed" + fi +} |