RMD160 6f44c25e739703f988180959608094aa633db7bf files/war 545
SHA256 696a8e1cc3918ce5d19f0aa41250d5f052244527a5e3804b025db7938f06ae7b files/war 545
DIST atlas-3.7.19-shared-libs.patch.bz2 6295 RMD160 d9bf35bd529decd7245c929356b383d5ac4972e4 SHA1 077d8c65139f191e658a972e858d49984dfb6cd4 SHA256 874aa6b2be5ec5dbe576a5a6c8d0a11755a2043b8b437aa52c4b077adb2fed26
+DIST atlas-3.7.23-shared-libs.patch.bz2 6324 RMD160 b3fd87430994d09860a6fd1d494934e90c0ecf41 SHA1 a4f5296c708aa34ed394470c3f30277080629e86 SHA256 895ed8243f23074ad0a343c3aded59468e2f3d6acfa886c840f7f81d32718241
DIST atlas3.6.0-shared-libs.1.patch.bz2 5148 RMD160 96f9357049fb22e0955ff1375630e542b0bdee7c SHA1 7ad4a9d0dacf75ae4ad308c2f0d1dfa9b17e49f6 SHA256 f669030bf042808a4f4a92c746f3fd3067597d0ec94756ecac63bc331109c565
DIST atlas3.6.0-shared-libs.3.patch.bz2 5140 RMD160 d6085b2729f2b8ed917b1d0a85339bd07f4192f9 SHA1 a9f234416bdbc1a752196f48707a066687fdfeb2 SHA256 9cd442b35c869c90b569154bf82a8f18c92fb5e0221c26c7cff23b0a7e9e2cd8
DIST atlas3.6.0-shared-libs.patch.bz2 5140 RMD160 2c266377cd60b24b7710fcf1d6d4be9c32797d64 SHA1 ec4c87075c03133e0f1e2fe22cd9768124c758b7 SHA256 6fd8281d42de14d34e4f1e25cb9f4b142f6e66c8dc1030763761f8033eb38e89
DIST atlas3.6.0.tar.bz2 1687723 RMD160 e7d40a6677ce7c4442df7152150aecf812020713 SHA1 61dd7ace2f43e9a10864148a71fa443a6eae2c3d SHA256 1c2ad68fe3c66e261c012788fc1b6f74eada791f713848a3a6420c50fa35c8e8
DIST atlas3.7.11.tar.bz2 2032724 RMD160 f58b8a85c097bd1bff6a53ee42bcff97240fb8ec SHA1 7806c43147535f6422bdaacb4416aa06a5de0f07 SHA256 558b9f3f0dc8f63306f99f75d6e6fa762ea3d9d0dea88053e3e8b6f0e6364109
DIST atlas3.7.19.tar.bz2 1748440 RMD160 958508bc1dcf03a0a347931817371de5dcb569f7 SHA1 0efa832a46c3cc8474cc850fa6933a8b73e50bc6 SHA256 a4cbd3bf05dfe53883d698e3f7b64dd0c244b14814d5ea4cbeb541348a1f4256
+DIST atlas3.7.23.tar.bz2 1776072 RMD160 765eb87e714b43c53b399a861f28e8ff27682e32 SHA1 32bda68c13eded620c68333a0373bf4ec691e032 SHA256 048cf7e2f1ae1a0581642019388b6f72894ca46e797e0548ac2cb7975481e253
EBUILD blas-atlas-3.6.0-r1.ebuild 4311 RMD160 a43731bd3915327ef3f07689adbf6ef2caf486f3 SHA1 07b69b15f6a1575998d1b659248aabb1c1240121 SHA256 d90e4e5a5288289f2616404611f760a575e6a66f4ac2a5a8eba5eb564893f7c9
MD5 c9b43d3319b5a645fff09aeb96246159 blas-atlas-3.6.0-r1.ebuild 4311
RMD160 a43731bd3915327ef3f07689adbf6ef2caf486f3 blas-atlas-3.6.0-r1.ebuild 4311
MD5 41c27a975270f612d95a6a18a4c20c7c blas-atlas-3.7.19.ebuild 5060
RMD160 02e3f527c219ff5a23988e0acf43d8ac9b961fd8 blas-atlas-3.7.19.ebuild 5060
SHA256 b5b343f2f33994fe18de35e75e88c0f316dea7a08e41f2f4a4b65a677eb130eb blas-atlas-3.7.19.ebuild 5060
-MISC ChangeLog 11270 RMD160 8731ecfcccead0f855fbe6ac0a1a300b46ba6b72 SHA1 c822edca554e98505d0c36cf4850a87437cd9ca4 SHA256 114953aaaae4174c0933112cf9c577ee07cda6a287afb78664e0c043ea5ea54c
-MD5 c02889cdf6f93459957c25212b27e54c ChangeLog 11270
-RMD160 8731ecfcccead0f855fbe6ac0a1a300b46ba6b72 ChangeLog 11270
-SHA256 114953aaaae4174c0933112cf9c577ee07cda6a287afb78664e0c043ea5ea54c ChangeLog 11270
+EBUILD blas-atlas-3.7.23.ebuild 5060 RMD160 125b13183b4a36f2f945836fb71d8258b115c13b SHA1 ba9e078b6de125c768719a19906ca557cade5605 SHA256 5cb4902ce0ff9bfde05e5d1794160c694c9c518af3ed66042171c38ff24cd463
+MD5 0634f54250d8cc1033273353b74807bb blas-atlas-3.7.23.ebuild 5060
+RMD160 125b13183b4a36f2f945836fb71d8258b115c13b blas-atlas-3.7.23.ebuild 5060
+SHA256 5cb4902ce0ff9bfde05e5d1794160c694c9c518af3ed66042171c38ff24cd463 blas-atlas-3.7.23.ebuild 5060
+MISC ChangeLog 11402 RMD160 cca8e3119e80eea38b4c1f847115d357ddee7997 SHA1 e38e8eef762a833eb6cbe1c1cb65c8310079060d SHA256 6863c3658544cbc50997b27e728af37b05dde36d565c3af83a9128d9963820ad
+MD5 b36b86bcc49befede1cf98e4b2b46ce2 ChangeLog 11402
+RMD160 cca8e3119e80eea38b4c1f847115d357ddee7997 ChangeLog 11402
+SHA256 6863c3658544cbc50997b27e728af37b05dde36d565c3af83a9128d9963820ad ChangeLog 11402
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
MD5 b3b98df37c5a3ad1f61aaa77a43915c0 files/digest-blas-atlas-3.7.19 518
RMD160 299413bdcd31ab52b5a6951121a19a0bc83cbb86 files/digest-blas-atlas-3.7.19 518
SHA256 b6c85b2dbbcfb99e56c1e3305b8a7bf8e983ce62e48b323772cee32738db8f01 files/digest-blas-atlas-3.7.19 518
+MD5 58672f4a00662b2af7e7d2cbb195cb96 files/digest-blas-atlas-3.7.23 518
+RMD160 273fe64fa02d2a068a3777a07ba91625cf5d3714 files/digest-blas-atlas-3.7.23 518
+SHA256 da5983de74c1ab1551c3fda91d9fcdda4da95e3a8109e303a018ee062cfe82cb files/digest-blas-atlas-3.7.23 518
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.7.23.ebuild,v 1.1 2006/12/09 13:50:15 markusle Exp $
+
+inherit eutils toolchain-funcs fortran
+
+DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation"
+HOMEPAGE="http://math-atlas.sourceforge.net/"
+MY_PN=${PN/blas-/}
+SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2
+ mirror://gentoo/${MY_PN}-${PV}-shared-libs.patch.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+
+RDEPEND="app-admin/eselect-blas
+ app-admin/eselect-cblas"
+DEPEND="${RDEPEND}
+ >=sys-devel/libtool-1.5"
+PROVIDE="virtual/blas"
+
+
+S="${WORKDIR}/ATLAS"
+BLD_DIR="${S}/gentoo-build"
+RPATH="${DESTTREE}/$(get_libdir)/blas"
+FORTRAN="g77 gfortran"
+
+pkg_setup() {
+ fortran_pkg_setup
+ echo
+ ewarn "Please make sure to disable CPU throttling completely"
+ ewarn "during the compile of blas-atlas. Otherwise, all atlas"
+ ewarn "generated timings will be completely random and the"
+ ewarn "performance of the resulting libraries will be degraded"
+ ewarn "considerably."
+ echo
+ ewarn "Also, if you experience failing SANITY tests during"
+ ewarn "atlas' compile please try passing -mfpmath=387; this"
+ ewarn "option might also result in much better performance"
+ ewarn "than using then sse instruction set depending on your"
+ ewarn "CPU."
+ echo
+ epause 10
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${DISTDIR}"/${MY_PN}-${PV}-shared-libs.patch.bz2
+ epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
+
+ # make sure shared libs link against proper libraries
+ if [[ ${FORTRANC} == "gfortran" ]]; then
+ libs="${LDFLAGS} -lpthread -lgfortran"
+ else
+ libs="${LDFLAGS} -lpthread -lg2c"
+ fi
+ sed -e "s/SHRD_LNK/${libs}/g" -i Make.top || \
+ die "Failed to add addtional libs to shared object build"
+
+ mkdir ${BLD_DIR} || die "failed to generate build directory"
+ cp "${FILESDIR}"/war ${BLD_DIR} && chmod a+x ${BLD_DIR}/war || \
+ die "failed to install war"
+
+ # force proper 32/64bit libs
+ local archselect
+ if [[ "${ARCH}" == "amd64" || "${ARCH}" == "ppc64" ]]; then
+ archselect="-b 64"
+ else
+ archselect="-b 32"
+ fi
+
+ # set up compiler/flags using atlas' native configure
+ local compdefs
+ compdefs="${compdefs} -C xc '$(tc-getCC)' -F xc '${CFLAGS}'"
+ compdefs="${compdefs} -C ic '$(tc-getCC)' -F ic '${CFLAGS}'"
+ compdefs="${compdefs} -C sk '$(tc-getCC)' -F sk '${CFLAGS}'"
+ compdefs="${compdefs} -C dk '$(tc-getCC)' -F dk '${CFLAGS}'"
+ compdefs="${compdefs} -C sm '$(tc-getCC)' -F sm '${CFLAGS}'"
+ compdefs="${compdefs} -C dm '$(tc-getCC)' -F dm '${CFLAGS}'"
+ compdefs="${compdefs} -C if '${FORTRANC}' -F if '${FFLAGS}'"
+ compdefs="${compdefs} -Si cputhrchk 0 ${archselect}"
+
+ cd ${BLD_DIR} && ../configure ${compdefs} \
+ || die "configure failed"
+}
+
+src_compile() {
+ cd ${BLD_DIR}
+ make || die "make failed"
+
+ make shared-strip RPATH=${RPATH}/atlas || \
+ die "failed to build shared libraries"
+
+ # build shared libraries of threaded libraries if applicable
+ if [ -d gentoo/libptf77blas.a ]; then
+ make ptshared-strip RPATH=${RPATH}/threaded-atlas || \
+ die "failed to build threaded shared libraries"
+ fi
+}
+
+src_install () {
+ dodir "${RPATH}"/atlas
+ cd ${BLD_DIR}/gentoo/libs
+ cp -P libatlas* "${D}/${DESTTREE}/$(get_libdir)" || \
+ die "Failed to install libatlas"
+ cp -P *blas* "${D}/${RPATH}"/atlas || \
+ die "Failed to install blas/cblas"
+
+ eselect blas add $(get_libdir) ${FILESDIR}/eselect.blas atlas
+ eselect cblas add $(get_libdir) ${FILESDIR}/eselect.cblas atlas
+
+ if [ -d ${BLD_DIR}/gentoo/threaded-libs ]
+ then
+ dodir "${RPATH}"/threaded-atlas
+ cd ${BLD_DIR}/gentoo/threaded-libs
+ cp -P * "${D}/${RPATH}"/threaded-atlas || \
+ die "Failed to install threaded atlas"
+
+ eselect blas add $(get_libdir) ${FILESDIR}/eselect.blas-threaded threaded-atlas
+ eselect cblas add $(get_libdir) ${FILESDIR}/eselect.cblas-threaded threaded-atlas
+ fi
+
+ insinto "${DESTTREE}"/include/atlas
+ doins "${S}"/include/cblas.h "${S}"/include/atlas_misc.h \
+ "${S}"/include/atlas_enum.h || \
+ die "failed to install headers"
+
+ # These headers contain the architecture-specific
+ # optimizations determined by ATLAS. The atlas-lapack build
+ # is much shorter if they are available, so save them:
+ doins ${BLD_DIR}/include/*.h || \
+ die "failed to install timing headers"
+
+ #some docs
+ cd "${S}"
+ dodoc README doc/{AtlasCredits.txt,ChangeLog}
+ use doc && dodoc doc/*.ps
+}
+
+pkg_postinst() {
+ local THREADED
+
+ if [ -d "${RPATH}"/threaded-atlas ]
+ then
+ THREADED="threaded-"
+ fi
+ if [[ -z "$(eselect blas show)" ]]; then
+ eselect blas set ${THREADED}atlas
+ fi
+ if [[ -z "$(eselect cblas show)" ]]; then
+ eselect cblas set ${THREADED}atlas
+ fi
+
+ elog
+ elog "Fortran users link using -lblas"
+ elog
+ elog "C users compile against the header ${ROOT}usr/include/atlas/cblas.h and"
+ elog "link using -lcblas"
+ elog
+ elog "If using threaded ATLAS, you may also need to link with -lpthread."
+ elog
+ elog "Configuration now uses eselect rather than blas-config."
+}