diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-04 09:57:23 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-04 09:57:23 +0000 |
commit | 26becb3f5b9c2b16fcbd4b5f9777262498b65fa6 (patch) | |
tree | 26f36a45dd2976beb654ede88922f8628d910d83 /sci-libs | |
parent | stable x86, bug 281207 (diff) | |
download | gentoo-2-26becb3f5b9c2b16fcbd4b5f9777262498b65fa6.tar.gz gentoo-2-26becb3f5b9c2b16fcbd4b5f9777262498b65fa6.tar.bz2 gentoo-2-26becb3f5b9c2b16fcbd4b5f9777262498b65fa6.zip |
New ebuild, imported from sci on request 206934
(Portage version: 2.2_rc64/cvs/Linux i686)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/clapack/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/clapack/clapack-3.2.1.ebuild | 48 | ||||
-rw-r--r-- | sci-libs/clapack/metadata.xml | 8 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sci-libs/clapack/ChangeLog b/sci-libs/clapack/ChangeLog new file mode 100644 index 000000000000..ed74fd1aa091 --- /dev/null +++ b/sci-libs/clapack/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/clapack +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/ChangeLog,v 1.1 2010/03/04 09:57:23 jlec Exp $ + +*clapack-3.2.1 (04 Mar 2010) + + 04 Mar 2010; Justin Lecher (jlec) <jlec@j-schmitz.net> + +clapack-3.2.1.ebuild, +metadata.xml: + New ebuild, imported from sci on request 206934 + + diff --git a/sci-libs/clapack/clapack-3.2.1.ebuild b/sci-libs/clapack/clapack-3.2.1.ebuild new file mode 100644 index 000000000000..9a5be751818f --- /dev/null +++ b/sci-libs/clapack/clapack-3.2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/clapack-3.2.1.ebuild,v 1.1 2010/03/04 09:57:23 jlec Exp $ + +EAPI="3" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="f2c'ed version of LAPACK" +HOMEPAGE="http://www.netlib.org/clapack/" +SRC_URI="http://www.netlib.org/${PN}/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/libf2c-20081126[static]" +DEPEND="${RDEPEND}" +S="${WORKDIR}"/CLAPACK-${PV} + +src_prepare() { + rm -rf F2CLIBS BLAS + + sed \ + -e "s:^CC.*$:CC = $(tc-getCC):g" \ + -e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:g" \ + -e "s:^LOADER.*$:LOADER = $(tc-getCC):g" \ + -e "s:^LOADOPTS.*$:LOADOPTS = ${LDFLAGS}:g" \ + -e "s:^F2CLIB.*$:F2CLIB = ${EPREFIX}/usr/$(get_libdir)/libf2c.a:g" \ + -e "s:LAPACKLIB.*$:LAPACKLIB = libclapack.a:g" \ + make.inc.example > make.inc + + sed \ + -e 's:"f2c.h":<f2c.h>:g' \ + -i SRC/*.c || die +} + +src_compile() { + emake -C INSTALL F2CLIB="${EPREFIX}"/usr/$(get_libdir)/libf2c.a || die "compile failed" + emake -C SRC || die "compile failed" +} + +src_install() { + insinto /usr/include + doins INCLUDE/${PN}.h || die + dolib.a lib${PN}.a || die +} diff --git a/sci-libs/clapack/metadata.xml b/sci-libs/clapack/metadata.xml new file mode 100644 index 000000000000..efb490d78817 --- /dev/null +++ b/sci-libs/clapack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>sci@gentoo.org</email> +</maintainer> +</pkgmetadata> |