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 | 8573bcfe2c851f9d5cdbbdbfaf33ddc0acbe5ae7 (patch) | |
tree | 061eb3ef02d80f52d0deeebf3c8542df9257246c /sci-libs | |
parent | stable x86, bug 281207 (diff) | |
download | historical-8573bcfe2c851f9d5cdbbdbfaf33ddc0acbe5ae7.tar.gz historical-8573bcfe2c851f9d5cdbbdbfaf33ddc0acbe5ae7.tar.bz2 historical-8573bcfe2c851f9d5cdbbdbfaf33ddc0acbe5ae7.zip |
New ebuild, imported from sci on request 206934
Package-Manager: portage-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/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/clapack/clapack-3.2.1.ebuild | 48 | ||||
-rw-r--r-- | sci-libs/clapack/metadata.xml | 8 |
4 files changed, 81 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/Manifest b/sci-libs/clapack/Manifest new file mode 100644 index 000000000000..63104c1f96bf --- /dev/null +++ b/sci-libs/clapack/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST clapack-3.2.1.tgz 7221385 RMD160 5882b199595ae0ce6769cd65cb83cfeb7dcac528 SHA1 fdab49c89a1843643fdfa9121f16361e23711540 SHA256 f1c214f97033deff6e91dee72be56cd14d872a097e35a1ef1beeadaf4e1921bc +EBUILD clapack-3.2.1.ebuild 1221 RMD160 a96dafa6a2d0206bb774af6ab6667f41214edc98 SHA1 8c5c366521038d9678448eeccef7d0256f478840 SHA256 bc7cde87b1ba2de11a75cc0f567e1f10938beb2b873bdb8488c88da962e8cf5d +MISC ChangeLog 382 RMD160 5296f07cf5dce71d91a4277c4380829472e04473 SHA1 369f316ad302712ae69ce72b42f21ea51fe769d9 SHA256 388e42003e4e31fce4a3c72376ca6f9ead66e02d30eba465d2855592161c7272 +MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkuPhAYACgkQgAnW8HDreRZliQCeNCjUqijVphAD72Z4EZBuA+al +/G8AoKh0casx0MSDRU1kqc0Tdqvt/zez +=vmp0 +-----END PGP SIGNATURE----- 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> |