diff options
-rw-r--r-- | sci-libs/gsl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/gsl/Manifest | 33 | ||||
-rw-r--r-- | sci-libs/gsl/files/cblas.pc.in | 12 | ||||
-rw-r--r-- | sci-libs/gsl/files/digest-gsl-1.9-r1 | 3 | ||||
-rw-r--r-- | sci-libs/gsl/files/eselect.cblas.gsl | 5 | ||||
-rw-r--r-- | sci-libs/gsl/gsl-1.9-r1.ebuild | 62 |
6 files changed, 119 insertions, 5 deletions
diff --git a/sci-libs/gsl/ChangeLog b/sci-libs/gsl/ChangeLog index 9a079afb4177..33da5dfbb791 100644 --- a/sci-libs/gsl/ChangeLog +++ b/sci-libs/gsl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/gsl # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.36 2007/06/12 12:08:47 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.37 2007/08/21 17:53:34 bicatali Exp $ + +*gsl-1.9-r1 (21 Aug 2007) + + 21 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> +files/cblas.pc.in, + +files/eselect.cblas.gsl, +gsl-1.9-r1.ebuild: + Added eselect and cblas pkg-config files to be a possible implementation of + virtual/cblas. General cleanup continued. 12 Jun 2007; Christoph Mende <angelos@gentoo.org> gsl-1.9.ebuild: Stable on amd64 wrt bug 180916 diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest index 059f42fceee1..214e656f158f 100644 --- a/sci-libs/gsl/Manifest +++ b/sci-libs/gsl/Manifest @@ -1,3 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX cblas.pc.in 290 RMD160 4fc855a67383ac17b68c29d8f10307178919e217 SHA1 ec23b2092a5498beb602c9b558af8abcf5dd6358 SHA256 f47133de2f49a5ff53c8e295d03fbe8923c79cd0978cedb903cfdf7e57a873a1 +MD5 a3aa0d987b3770c85cb8b79f215583c1 files/cblas.pc.in 290 +RMD160 4fc855a67383ac17b68c29d8f10307178919e217 files/cblas.pc.in 290 +SHA256 f47133de2f49a5ff53c8e295d03fbe8923c79cd0978cedb903cfdf7e57a873a1 files/cblas.pc.in 290 +AUX eselect.cblas.gsl 211 RMD160 612f187899186667d39f4285983a6d2e33e8d8e5 SHA1 18f13508efdcb0b408ac5a1c3bf2ef21c5adcd85 SHA256 9946e2e6082c58b2d0415d27f572897da76a96d259652e305783875643fb6554 +MD5 446feaa977fae60dd7f62d7dbe27dfd1 files/eselect.cblas.gsl 211 +RMD160 612f187899186667d39f4285983a6d2e33e8d8e5 files/eselect.cblas.gsl 211 +SHA256 9946e2e6082c58b2d0415d27f572897da76a96d259652e305783875643fb6554 files/eselect.cblas.gsl 211 AUX gsl-1.6-deps.diff 418 RMD160 1c6aef845c115fce98c38857948b38a1b5e425b1 SHA1 b03629fad9b09c918ccea6bc328c9b8eb256d351 SHA256 0ca9e6e5431d608c282ce890971b23c2fdba5701f0cac0d70938f14df46e701f MD5 5ca2842635739ffb675ba3eff4d460d9 files/gsl-1.6-deps.diff 418 RMD160 1c6aef845c115fce98c38857948b38a1b5e425b1 files/gsl-1.6-deps.diff 418 @@ -23,14 +34,18 @@ EBUILD gsl-1.8.ebuild 911 RMD160 43d267c262215386ced483abcaf7708f243876e9 SHA1 2 MD5 62cd1149ea717fd35cd288677087e907 gsl-1.8.ebuild 911 RMD160 43d267c262215386ced483abcaf7708f243876e9 gsl-1.8.ebuild 911 SHA256 9274583da4d9716d2a4b490ba97bd18435e51e963b0b09fc9453d71290dfb07d gsl-1.8.ebuild 911 +EBUILD gsl-1.9-r1.ebuild 1725 RMD160 a9b8f29cb81fd6c69858834be97660674e063adb SHA1 16c4a97bc84e9aed01f0dde9bd819604ea769a31 SHA256 ae30c65a6d40a60fdb80226a125a51fde7080c05e60faa64f6b3f97e77dd8d25 +MD5 145f5bf37c63482c8f3d63ce50e55689 gsl-1.9-r1.ebuild 1725 +RMD160 a9b8f29cb81fd6c69858834be97660674e063adb gsl-1.9-r1.ebuild 1725 +SHA256 ae30c65a6d40a60fdb80226a125a51fde7080c05e60faa64f6b3f97e77dd8d25 gsl-1.9-r1.ebuild 1725 EBUILD gsl-1.9.ebuild 905 RMD160 2a44b49b31c2fb724ba66bc1fe318ffece105264 SHA1 99ba239337f1da9706931bd505c120983c15bf34 SHA256 a6001bc950f0fd494725e150d3c7d4a8ff585ce739f425ac306d7675014a38df MD5 55d35746ec90e7375aa82484f2b4b226 gsl-1.9.ebuild 905 RMD160 2a44b49b31c2fb724ba66bc1fe318ffece105264 gsl-1.9.ebuild 905 SHA256 a6001bc950f0fd494725e150d3c7d4a8ff585ce739f425ac306d7675014a38df gsl-1.9.ebuild 905 -MISC ChangeLog 6202 RMD160 25ccdea011c9c271719f5f86230fa17964bdd007 SHA1 b08153c9000bbe52776a1ed7440a9b83f5b453c3 SHA256 fb989dd3c0032ff9cb74050b9264c53f5cf4a00c234ebbfb4524758179c5c2e8 -MD5 79d8be78c9a622d9755cc507024f7cde ChangeLog 6202 -RMD160 25ccdea011c9c271719f5f86230fa17964bdd007 ChangeLog 6202 -SHA256 fb989dd3c0032ff9cb74050b9264c53f5cf4a00c234ebbfb4524758179c5c2e8 ChangeLog 6202 +MISC ChangeLog 6476 RMD160 f847ed7db98a40b0f30c31eb5f2f34b8358b9d2a SHA1 640ac7aa5094b0aede58e3c1cc36123e716c7f70 SHA256 1ec79262a81029c554ebaf6c0d640f1f549180aa31c20c51619abe3e8f3a326e +MD5 e630a3d5809eebae2154598775287277 ChangeLog 6476 +RMD160 f847ed7db98a40b0f30c31eb5f2f34b8358b9d2a ChangeLog 6476 +SHA256 1ec79262a81029c554ebaf6c0d640f1f549180aa31c20c51619abe3e8f3a326e ChangeLog 6476 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -50,3 +65,13 @@ SHA256 457b15213bec1522c0d6aac9b82d7d9b1ecc0c7a4b3ba150e23c66f25be446ec files/di MD5 3d4c2af07681f88ed37e23e04518648c files/digest-gsl-1.9 226 RMD160 8ccab5953dbccc8d3cf5fd5dc7eec254f04b434a files/digest-gsl-1.9 226 SHA256 a9b9438404a6877f83254607c14e41809f06a9143105b00d2fa2f1c92698f279 files/digest-gsl-1.9 226 +MD5 3d4c2af07681f88ed37e23e04518648c files/digest-gsl-1.9-r1 226 +RMD160 8ccab5953dbccc8d3cf5fd5dc7eec254f04b434a files/digest-gsl-1.9-r1 226 +SHA256 a9b9438404a6877f83254607c14e41809f06a9143105b00d2fa2f1c92698f279 files/digest-gsl-1.9-r1 226 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGyyak1ycZbhPLE2ARArodAJ9Gq3sFOZJxPFLQ6shxdCQsGjdqMwCfccvU +3ZNLZ407cvJQCdVX2Whhfls= +=5QdT +-----END PGP SIGNATURE----- diff --git a/sci-libs/gsl/files/cblas.pc.in b/sci-libs/gsl/files/cblas.pc.in new file mode 100644 index 000000000000..a2580f85e6e8 --- /dev/null +++ b/sci-libs/gsl/files/cblas.pc.in @@ -0,0 +1,12 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/@LIBDIR@ +includedir=${prefix}/include + +Name: cblas +Description: GSL C Implementation of the Basic Linear Algebra Subprograms +Version: @PV@ +URL: http://www.gnu.org/software/gsl +Libs: -L${libdir} -lcblas +Libs.private: -lm +Cflags: -I${includedir} diff --git a/sci-libs/gsl/files/digest-gsl-1.9-r1 b/sci-libs/gsl/files/digest-gsl-1.9-r1 new file mode 100644 index 000000000000..7c9903354b6a --- /dev/null +++ b/sci-libs/gsl/files/digest-gsl-1.9-r1 @@ -0,0 +1,3 @@ +MD5 81dca4362ae8d2aa1547b7d010881e43 gsl-1.9.tar.gz 2574939 +RMD160 faca66d02876135c31c2f3585baa1931488e1593 gsl-1.9.tar.gz 2574939 +SHA256 fcd1c6784997c2312d922d107fcb30462f5be4335ebdfa8e1e0e07568c962250 gsl-1.9.tar.gz 2574939 diff --git a/sci-libs/gsl/files/eselect.cblas.gsl b/sci-libs/gsl/files/eselect.cblas.gsl new file mode 100644 index 000000000000..5524ef29d065 --- /dev/null +++ b/sci-libs/gsl/files/eselect.cblas.gsl @@ -0,0 +1,5 @@ +libgslcblas.so /usr/@LIBDIR@/libcblas.so +libgslcblas.so.0 /usr/@LIBDIR@/libcblas.so.0 +libgslcblas.a /usr/@LIBDIR@/libcblas.a +../blas/gsl/cblas.pc /usr/@LIBDIR@/pkgconfig/cblas.pc +gslcblas.h /usr/include/cblas.h diff --git a/sci-libs/gsl/gsl-1.9-r1.ebuild b/sci-libs/gsl/gsl-1.9-r1.ebuild new file mode 100644 index 000000000000..45e3b95388b5 --- /dev/null +++ b/sci-libs/gsl/gsl-1.9-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.9-r1.ebuild,v 1.1 2007/08/21 17:53:34 bicatali Exp $ + +inherit eutils flag-o-matic toolchain-funcs autotools + +DESCRIPTION="The GNU Scientific Library" +HOMEPAGE="http://www.gnu.org/software/gsl/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="app-admin/eselect-cblas" +DEPEND="${RDEPEND}" + +pkg_setup() { + # icc-10.0.025 did not pass some tests + if [[ $(tc-getCC) == icc ]]; then + eerror "icc known to fail tests. Revert to safer gcc and re-emerge." + die "gsl does not work when compiled with icc" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + # fix for as-needed + epatch "${FILESDIR}"/gsl-1.6-deps.diff + eautoreconf +} + +src_compile() { + replace-cpu-flags k6 k6-2 k6-3 i586 + filter-flags -ffast-math + + econf || die "econf failed" + emake || die 'emake failed.' +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed." + dodoc AUTHORS BUGS ChangeLog NEWS README SUPPORT \ + THANKS TODO || die "dodoc failed" + + # take care of pkgconfig file for cblas implementation. + sed -e "s/@LIBDIR@/$(get_libdir)/" \ + -e "s/@PV@/${PV}/" \ + "${FILESDIR}"/cblas.pc.in > cblas.pc \ + || die "sed cblas.pc failed" + insinto /usr/$(get_libdir)/blas/gsl + doins cblas.pc || die "installing cblas.pc failed" + eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas.gsl gsl +} + +pkg_postinst() { + [[ -z "$(eselect cblas show)" ]] && eselect cblas set gsl + elog "To use CBLAS gsl implementation, you have to issue (as root):" + elog "\t eselect cblas set gsl" +} |