aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/acml/Manifest26
-rw-r--r--sci-libs/acml/acml-3.6.0-r1.ebuild55
-rw-r--r--sci-libs/acml/acml-3.6.1-r1.ebuild72
-rw-r--r--sci-libs/blas-atlas/Manifest8
-rw-r--r--sci-libs/blas-atlas/files/atlas-3.7.37-shared-libs.patch8
-rw-r--r--sci-libs/camd/Manifest12
-rw-r--r--sci-libs/camd/camd-2.2.0.ebuild39
-rw-r--r--sci-libs/camd/files/camd-2.2.0-autotools.patch68
-rw-r--r--sci-libs/camd/files/digest-camd-2.2.03
-rw-r--r--sci-libs/ccolamd/Manifest16
-rw-r--r--sci-libs/ccolamd/ccolamd-2.7.0.ebuild35
-rw-r--r--sci-libs/ccolamd/files/ccolamd-2.7.0-autotools.patch60
-rw-r--r--sci-libs/ccolamd/files/colamd-2.7.0-autotools.patch16
-rw-r--r--sci-libs/ccolamd/files/digest-ccolamd-2.7.03
-rw-r--r--sci-libs/colamd/Manifest12
-rw-r--r--sci-libs/colamd/colamd-2.7.0.ebuild35
-rw-r--r--sci-libs/colamd/files/colamd-2.7.0-autotools.patch58
-rw-r--r--sci-libs/colamd/files/digest-colamd-2.7.03
-rw-r--r--sci-libs/cxsparse/Manifest12
-rw-r--r--sci-libs/cxsparse/cxsparse-2.0.7.ebuild30
-rw-r--r--sci-libs/cxsparse/files/cxsparse-2.0.7-autotools.patch88
-rw-r--r--sci-libs/cxsparse/files/digest-cxsparse-2.0.73
-rw-r--r--sci-libs/lapack-atlas/Manifest8
-rw-r--r--sci-libs/lapack-atlas/files/atlas-3.7.37-shared-libs.patch8
24 files changed, 587 insertions, 91 deletions
diff --git a/sci-libs/acml/Manifest b/sci-libs/acml/Manifest
index 3fdd6082e..56cc834e2 100644
--- a/sci-libs/acml/Manifest
+++ b/sci-libs/acml/Manifest
@@ -13,17 +13,27 @@ DIST acml-3-6-0-ifort-64bit.tgz 21966276 RMD160 a6031f5cdacdc70d11c06cf6d8e8ae31
DIST acml-3-6-1-gfortran-32bit.tgz 17682562 RMD160 abdb8ea2f66f08f478a951b37c5ce5945854a357 SHA1 7606b690061319c50f30af11766694205b03922f SHA256 adec95c65d1042c65fa1490978b76042c3bf9670df7c226cd28431473985898c
DIST acml-3-6-1-gfortran-64bit-int64.tgz 19802195 RMD160 3cb2317d6a5ec62797c4a11ab1336aabb50e16fa SHA1 a9be2f4ecbfdb6e0f849f545b66e78f752367f00 SHA256 56cbbb6deac2a93d21f3954511ad95ccc2a8ce893fdbf9a8605a2d81deb1fc41
DIST acml-3-6-1-gfortran-64bit.tgz 20452058 RMD160 8df00704e7ac037dcd55a9207f45d6f0b2214ff8 SHA1 f0d2a10e5db83dc264d6f937189ce10a1f461a4d SHA256 efec543a8185ffb6e6e68db94ef0cbd92c1b9ee1580affe6cd0a73c580ad8bdc
-EBUILD acml-3.6.0-r1.ebuild 3942 RMD160 b029485d7230d4995b65e86bdca29508f96ec934 SHA1 1000c66d0a7e07d560708176481d3d504d78abae SHA256 0d68037cc5c0be70e1fb1a9a700e71e1fa29673a0a25cf6f6a9c210333ae04f9
-MD5 a91c81516a71325e5752bce83f30b693 acml-3.6.0-r1.ebuild 3942
-RMD160 b029485d7230d4995b65e86bdca29508f96ec934 acml-3.6.0-r1.ebuild 3942
-SHA256 0d68037cc5c0be70e1fb1a9a700e71e1fa29673a0a25cf6f6a9c210333ae04f9 acml-3.6.0-r1.ebuild 3942
-EBUILD acml-3.6.1-r1.ebuild 4800 RMD160 5a1ecbbd23e6e35050c05b45c1c4f3e3f760ae92 SHA1 45b3590c0130a6b05662feb52d74abab3d7bfb29 SHA256 248310b9b53178cc54c977ccf3a0e3c3b753b5fbc758f49ea5778ee5240fcf99
-MD5 32143a27766bc1b0174eb6996b2751bd acml-3.6.1-r1.ebuild 4800
-RMD160 5a1ecbbd23e6e35050c05b45c1c4f3e3f760ae92 acml-3.6.1-r1.ebuild 4800
-SHA256 248310b9b53178cc54c977ccf3a0e3c3b753b5fbc758f49ea5778ee5240fcf99 acml-3.6.1-r1.ebuild 4800
+DIST acml-4-0-0-gfortran-64bit-int64.tgz 21881646 RMD160 65d3d4ca146ade1781efb43ca35c80cc85387c90 SHA1 e57ac634fe7c9a8ba82db59df572b0fa4e1d3434 SHA256 eda0b3c1350716509b1d244641200edca30faaae42c7b7b3873f573b4036f1f6
+DIST acml-4-0-0-gfortran-64bit.tgz 22559682 RMD160 cd9042e882fb4e8c1f5951e8eb2880d035ab14ea SHA1 27632153f219d9659734d4079c884d5347842b10 SHA256 3a7300dd9f7a494177baddd8bc34375daf80e550f5b6edb9539ed966adb80f11
+DIST acml-4-0-0-ifort-64bit.tgz 26676345 RMD160 2f4a1f14a55ac3334fd3fc045355a4fdebf2e87f SHA1 8a862389cc73d6b2975e8f2c682669f6bc1d9c3b SHA256 090f64a5fe309c6ed2ee9bcf7ae73687e0577a02da9f8ceabd4e5315fecb4769
+EBUILD acml-3.6.0-r1.ebuild 4160 RMD160 c9d644d363ebf8d95a21af04ff4142430943a889 SHA1 2e21b37201855d7985a82165c93009d7fa270da2 SHA256 649a4e862efdc42f7ad32b47cc51930b5569f2e110535bf39a95b8d8b44c81dd
+MD5 757f4b1809aeff018d9124cca60c493f acml-3.6.0-r1.ebuild 4160
+RMD160 c9d644d363ebf8d95a21af04ff4142430943a889 acml-3.6.0-r1.ebuild 4160
+SHA256 649a4e862efdc42f7ad32b47cc51930b5569f2e110535bf39a95b8d8b44c81dd acml-3.6.0-r1.ebuild 4160
+EBUILD acml-3.6.1-r1.ebuild 4854 RMD160 8d22523e2ab5998a61809aaddffff0759ba3d6e6 SHA1 f6506a35f307f74058c1a8731e6d6f2d43ebfbc3 SHA256 ab260a13eb5af2c3a9b549eb7375bbab868f6c3c19b2a04ea51dccf4b45b129d
+MD5 733a2affdbf51e55c1470a35efe08d0e acml-3.6.1-r1.ebuild 4854
+RMD160 8d22523e2ab5998a61809aaddffff0759ba3d6e6 acml-3.6.1-r1.ebuild 4854
+SHA256 ab260a13eb5af2c3a9b549eb7375bbab868f6c3c19b2a04ea51dccf4b45b129d acml-3.6.1-r1.ebuild 4854
+EBUILD acml-4.0.0.ebuild 4153 RMD160 67382a31aed6122a7f39103f91fcba3fcd40e689 SHA1 8ca2bd947587159a72412ed2b877f94937de2823 SHA256 dfb99de1f28f6b840afa342dd51e4b63ce3ac3d90c4bbbe9611f507432bbe824
+MD5 1585acdcd57a9c2d0f31177723a0df19 acml-4.0.0.ebuild 4153
+RMD160 67382a31aed6122a7f39103f91fcba3fcd40e689 acml-4.0.0.ebuild 4153
+SHA256 dfb99de1f28f6b840afa342dd51e4b63ce3ac3d90c4bbbe9611f507432bbe824 acml-4.0.0.ebuild 4153
MD5 0825c9a4d803ec3e005d86b883c72998 files/digest-acml-3.6.0-r1 1045
RMD160 574657f2c6a1f3697428f9522c5d67fa18ce5193 files/digest-acml-3.6.0-r1 1045
SHA256 47bd4eee1e3dfc0f1b508ce5a41054c23089bb9b9d7add427abcdc24942a1887 files/digest-acml-3.6.0-r1 1045
MD5 f822ee466ea41e1f6900d64b52a495c6 files/digest-acml-3.6.1-r1 840
RMD160 47a3138d09b475dcfe429b1ac3fc9c8a31bee749 files/digest-acml-3.6.1-r1 840
SHA256 b1ab60561ac029d5f444f7c4b5c7c7dc1793f89ae5ec1b20baa7d4bfdb10a025 files/digest-acml-3.6.1-r1 840
+MD5 30c75ad6d4c67447b44e64aaf2fbc377 files/digest-acml-4.0.0 831
+RMD160 e3e44e6538bc48e46f21b7f3d0a7157470084635 files/digest-acml-4.0.0 831
+SHA256 cb97c792d69b1d1ce81af1153f870042bbb951dfae73530d5db4c89a445f62c1 files/digest-acml-4.0.0 831
diff --git a/sci-libs/acml/acml-3.6.0-r1.ebuild b/sci-libs/acml/acml-3.6.0-r1.ebuild
index cf96e69d7..2a7aaebb8 100644
--- a/sci-libs/acml/acml-3.6.0-r1.ebuild
+++ b/sci-libs/acml/acml-3.6.0-r1.ebuild
@@ -63,18 +63,17 @@ src_unpack() {
src_compile() {
einfo "Nothing to compile"
- return
}
src_test() {
for fort in ${FORTDIRS}; do
einfo "Testing acml for $(basename ${fort})"
- cd "${S}/${fort}/examples"
+ cd "${S}"/${fort}/examples
for d in . acml_mv; do
- cd "${S}/${fort}/examples/${d}"
+ cd "${S}"/${fort}/examples/${d}
emake \
- ACMLDIR="${S}/${fort}" \
- F77="${FORTRANC}" \
+ ACMLDIR="${S}"/${fort} \
+ F77=${FORTRANC} \
CC="$(tc-getCC)" \
CPLUSPLUS="$(tc-getCXX)" \
|| die "emake test in ${fort}/examples/${d} failed"
@@ -85,24 +84,24 @@ src_test() {
src_install() {
# respect acml default install dir (and FHS)
- local instdir="/opt/${PN}${PV}"
+ local instdir=/opt/${PN}${PV}
dodir ${instdir}
for fort in ${FORTDIRS}; do
# install acml
- use examples || rm -rf "${S}/${fort}"/examples
- cp -pPR "${S}/${fort}" "${D}${instdir}"
+ use examples || rm -rf "${S}"/${fort}/examples
+ cp -pPR "${S}/${fort}" "${D}"${instdir} || die "copy ${fort} failed"
# install profiles
+ ESELECT_PROF=acml-${FORTRANC}
local acmldir=${instdir}/${fort}
local libname=${acmldir}/lib/libacml
- local prof=acml-${FORTRANC}
local extlibs
local extflags
- if [[ "${fort}" =~ "_mp" ]]; then
- prof="${prof}-openmp"
- extlibs="-lpthread"
- libname="${libname}_mp"
+ if [[ ${fort} =~ _mp ]]; then
+ ESELECT_PROF=${ESELECT_PROF}-openmp
+ extlibs=-lpthread
+ libname=${libname}_mp
extflags="${extflags} -openmp"
fi
for l in blas lapack; do
@@ -115,7 +114,7 @@ src_install() {
"${FILESDIR}"/${l}.pc.in > ${l}.pc \
|| die "sed ${l}.pc failed"
insinto ${acmldir}/lib
- doins ${l}.pc
+ doins ${l}.pc || die "doins ${l}.pc failed"
# eselect files
cat > eselect.${l} << EOF
@@ -124,28 +123,28 @@ ${libname}.so /usr/@LIBDIR@/lib${l}.so
${libname}.a /usr/@LIBDIR@/lib${l}.a
${acmldir}/lib/${l}.pc /usr/@LIBDIR@/pkgconfig/${l}.pc
EOF
- eselect ${l} add $(get_libdir) eselect.${l} ${prof}
+ eselect ${l} add $(get_libdir) eselect.${l} ${ESELECT_PROF}
done
- echo "LDPATH=${instdir}/${fort}/lib" > 35acml
- echo "INCLUDE=${instdir}/${fort}/include" >> 35acml
+ echo "LDPATH=${instdir}/${fort}/lib" > 35acml
+ echo "INCLUDE=${instdir}/${fort}/include" >> 35acml
done
- # paths
- doenvd 35acml
+ doenvd 35acml || die "doenvd failed"
use doc || rm -rf "${S}"/Doc/acml.pdf "${S}"/Doc/html
- cp -pPR "${S}"/Doc "${D}${instdir}"
+ cp -pPR "${S}"/Doc "${D}"${instdir} || die "copy doc failed"
}
pkg_postinst() {
- # set acml if none are set yet
- for l in blas lapack; do
- if [[ -z "$(eselect ${l} show)" ]]; then
- local prof=acml-${FORTRANC}
- use openmp && prof="${prof}-openmp"
- eselect ${l} set ${prof}
+ for p in blas lapack; do
+ local current_p=$(eselect ${p} show | cut -d' ' -f2)
+ if [[ -z ${current_p} ]] || [[ ${current_p} == ${ESELECT_PROF} ]]; then
+ eselect ${p} set ${ESELECT_PROF}
+ elog "${p} has been eselected to ${ESELECT_PROF}"
+ else
+ elog "Current eselected ${p} is ${current_p}"
+ elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
+ elog "\t eselect ${p} set ${ESELECT_PROF}"
fi
done
- elog "Use 'eselect blas' and 'eselect lapack' to select"
- elog "one of the multiple acml blas and lapack profiles"
}
diff --git a/sci-libs/acml/acml-3.6.1-r1.ebuild b/sci-libs/acml/acml-3.6.1-r1.ebuild
index 48e226d9f..b807a73cf 100644
--- a/sci-libs/acml/acml-3.6.1-r1.ebuild
+++ b/sci-libs/acml/acml-3.6.1-r1.ebuild
@@ -15,20 +15,18 @@ SRC_URI="x86? ( acml-${MY_PV}-gfortran-32bit.tgz )
RESTRICT="strip fetch"
-IUSE="openmp int64 test doc examples"
+IUSE="openmp int64 doc examples"
LICENSE="ACML"
KEYWORDS="~amd64 ~x86"
SLOT="0"
# proper gcc needed for tests
DEPEND="app-admin/eselect-blas
- openmp? ( test? ( >=sys-devel/gcc-4.2 ) )
- !openmp? ( test? ( =sys-devel/gcc-4.1* ) )
- app-admin/eselect-lapack"
+ app-admin/eselect-lapack
+ openmp? ( >=sys-devel/gcc-4.2 )
+ !openmp? ( =sys-devel/gcc-4.1* )"
RDEPEND="${DEPEND}
- openmp? ( >=sys-devel/gcc-4.2 )
- !openmp? ( =sys-devel/gcc-4.1* )
doc? ( app-doc/blas-docs app-doc/lapack-docs )"
pkg_nofetch() {
@@ -44,7 +42,6 @@ pkg_setup() {
elog "hardware without SSE/SSE2 instructions. "
elog "For older 32-bit hardware that does not support SSE/SSE2,"
elog "you must continue to use an older version (ACML 3.1.0 and ealier)."
- epause
FORTRAN="gfortran"
fortran_pkg_setup
if use test; then
@@ -64,7 +61,6 @@ src_unpack() {
unpack ${A}
(DISTDIR="${S}" unpack contents-acml-*.tgz)
case ${FORTRANC} in
- g77) FORT=gnu ;;
gfortran) FORT=gfortran ;;
ifc|ifort) FORT=ifort ;;
*) eerror "Unsupported fortran compiler: ${FORTRANC}"
@@ -76,7 +72,6 @@ src_unpack() {
src_compile() {
einfo "Nothing to compile"
- return
}
src_test() {
@@ -85,12 +80,12 @@ src_test() {
use openmp && forts="$(ls -d ${FORT}*_mp*)"
for fort in ${forts}; do
einfo "Testing acml for ${fort}"
- cd "${S}/${fort}/examples"
+ cd "${S}"/${fort}/examples
for d in . acml_mv; do
- cd "${S}/${fort}/examples/${d}"
+ cd "${S}"/${fort}/examples/${d}
emake \
- ACMLDIR="${S}/${fort}" \
- F77="${FORTRANC}" \
+ ACMLDIR="${S}"/${fort} \
+ F77=${FORTRANC} \
CC="$(tc-getCC)" \
CPLUSPLUS="$(tc-getCXX)" \
|| die "emake test in ${fort}/examples/${d} failed"
@@ -101,28 +96,28 @@ src_test() {
src_install() {
# respect acml default install dir (and FHS)
- local instdir="/opt/${PN}${PV}"
+ local instdir=/opt/${PN}${PV}
dodir ${instdir}
for fort in ${FORTDIRS}; do
# install acml
- use examples || rm -rf "${S}/${fort}"/examples
- cp -pPR "${S}/${fort}" "${D}${instdir}"
+ use examples || rm -rf "${S}"/${fort}/examples
+ cp -pPR "${S}/${fort}" "${D}"${instdir} || die "copy ${fort} failed"
# install profiles
+ ESELECT_PROF=acml-${FORTRANC}
local acmldir=${instdir}/${fort}
local libname=${acmldir}/lib/libacml
- local prof=acml-${FORTRANC}
local extlibs
local extflags
- if [[ "${fort}" =~ "int64" ]]; then
- prof="${prof}-int64"
+ if [[ ${fort} =~ int64 ]]; then
+ ESELECT_PROF=${ESELECT_PROF}-int64
extflags="${extflags} -fdefault-integer-8"
fi
- if [[ "${fort}" =~ "_mp" ]]; then
- prof="${prof}-openmp"
- extlibs="-lpthread"
- libname="${libname}_mp"
+ if [[ ${fort} =~ _mp ]]; then
+ ESELECT_PROF=${ESELECT_PROF}-openmp
+ extlibs=-lpthread
+ libname=${libname}_mp
extflags="${extflags} -fopenmp"
fi
for l in blas lapack; do
@@ -144,30 +139,29 @@ ${libname}.so /usr/@LIBDIR@/lib${l}.so
${libname}.a /usr/@LIBDIR@/lib${l}.a
${acmldir}/lib/${l}.pc /usr/@LIBDIR@/pkgconfig/${l}.pc
EOF
-
- eselect ${l} add $(get_libdir) eselect.${l} ${prof}
+ eselect ${l} add $(get_libdir) eselect.${l} ${ESELECT_PROF}
done
- echo "LDPATH=${acmldir}/lib" > ${S}/35acml
- echo "INCLUDE=${acmldir}/include" >> ${S}/35acml
+ echo "LDPATH=${acmldir}/lib" > "${S}"/35acml
+ echo "INCLUDE=${acmldir}/include" >> "${S}"/35acml
done
- doenvd "${S}"/35acml
+
+ doenvd "${S}"/35acml || die "doenvd failed"
use doc || rm -rf "${S}"/Doc/acml.pdf "${S}"/Doc/html
- cp -pPR "${S}"/Doc "${D}${instdir}"
+ cp -pPR "${S}"/Doc "${D}"${instdir} || die "copy doc failed"
}
pkg_postinst() {
- # set acml if none are set yet
- for l in blas lapack; do
- if [[ -z "$(eselect ${l} show)" ]]; then
- local prof=${FORTRANC}
- use int64 && ext="${prof}-int64"
- use openmp && ext="${prof}-openmp"
- eselect ${l} set ${prof}
+ for p in blas lapack; do
+ local current_p=$(eselect ${p} show | cut -d' ' -f2)
+ if [[ -z ${current_p} ]] || [[ ${current_p} == ${ESELECT_PROF} ]]; then
+ eselect ${p} set ${ESELECT_PROF}
+ elog "${p} has been eselected to ${ESELECT_PROF}"
+ else
+ elog "Current eselected ${p} is ${current_p}"
+ elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
+ elog "\t eselect ${p} set ${ESELECT_PROF}"
fi
done
- elog "Use 'eselect blas' and 'eselect lapack' to select"
- elog "one of the multiple acml blas and lapack profiles"
- echo
if use openmp; then
elog "Remember that if you want to use openmp"
elog "You need to switch to gcc >= 4.2 with gcc-config"
diff --git a/sci-libs/blas-atlas/Manifest b/sci-libs/blas-atlas/Manifest
index b994e7d4e..f1bc79dd7 100644
--- a/sci-libs/blas-atlas/Manifest
+++ b/sci-libs/blas-atlas/Manifest
@@ -1,7 +1,7 @@
-AUX atlas-3.7.37-shared-libs.patch 50262 RMD160 8ee22edbbfdfc88739cf7622ee3e898515258117 SHA1 6322ec071f5cedd3c9b80eb82fbe076266855fb0 SHA256 4dda9bb21e692b8f56a635e4475e7ad5569c0ef5cddacb2ddfa8449a2a5859a1
-MD5 1d6c7b69a8522c5b3c4cbb573f9d5df3 files/atlas-3.7.37-shared-libs.patch 50262
-RMD160 8ee22edbbfdfc88739cf7622ee3e898515258117 files/atlas-3.7.37-shared-libs.patch 50262
-SHA256 4dda9bb21e692b8f56a635e4475e7ad5569c0ef5cddacb2ddfa8449a2a5859a1 files/atlas-3.7.37-shared-libs.patch 50262
+AUX atlas-3.7.37-shared-libs.patch 50209 RMD160 aa9b112aee0819c85a67729dafd6c5b306966db9 SHA1 dd88d38a41b5413d9a9ec40b3456e8284c0d4a5f SHA256 1c34034f1342efb38c63485efa67e056b8e3268259d81fd0f089341e34f7309a
+MD5 535722fdc28d77fd14f922ec57d7fa76 files/atlas-3.7.37-shared-libs.patch 50209
+RMD160 aa9b112aee0819c85a67729dafd6c5b306966db9 files/atlas-3.7.37-shared-libs.patch 50209
+SHA256 1c34034f1342efb38c63485efa67e056b8e3268259d81fd0f089341e34f7309a files/atlas-3.7.37-shared-libs.patch 50209
AUX atlas-asm-gentoo.patch 408 RMD160 3cea2f4a5a96ec22a4d0cfc78d691198a2d1a0da SHA1 493d066be68c66cca1f0c906d588da8983ec7afa SHA256 00f9247d422c758ef8ff43446a36a6dbb7962f94e5d01307318c87a90a78355b
MD5 fb9ca923b595b67967a744339e7a32a6 files/atlas-asm-gentoo.patch 408
RMD160 3cea2f4a5a96ec22a4d0cfc78d691198a2d1a0da files/atlas-asm-gentoo.patch 408
diff --git a/sci-libs/blas-atlas/files/atlas-3.7.37-shared-libs.patch b/sci-libs/blas-atlas/files/atlas-3.7.37-shared-libs.patch
index 058991ecd..edbd32e2b 100644
--- a/sci-libs/blas-atlas/files/atlas-3.7.37-shared-libs.patch
+++ b/sci-libs/blas-atlas/files/atlas-3.7.37-shared-libs.patch
@@ -1023,10 +1023,10 @@ diff -Nur ATLAS.orig/Make.top ATLAS/Make.top
+
+libcblas.so:
+ cd gentoo/libcblas.a ; \
-+ libtool --mode=link --tag=CC $(CC) $(F77SYSLIB) -o libcblas.la \
++ libtool --mode=link --tag=CC $(CC) -o libcblas.la \
+ ../libs/libatlas.la *.lo -rpath $(RPATH) ; \
+ rm -f .libs/libcblas.so.0.0.0; \
-+ $(CC) -shared .libs/*.o $(LDFLAGS) $(F77SYSLIB) $(BLDdir)/gentoo/libs/libatlas.so \
++ $(CC) -shared .libs/*.o $(LDFLAGS) $(BLDdir)/gentoo/libs/libatlas.so \
+ -Wl,-soname -Wl,libcblas.so.0 -o .libs/libcblas.so.0.0.0; \
+ libtool --mode=install $(INSTALLER) libcblas.la $(BLDdir)/gentoo/libs
+
@@ -1042,10 +1042,10 @@ diff -Nur ATLAS.orig/Make.top ATLAS/Make.top
+
+libptcblas.so:
+ cd gentoo/libptcblas.a ; \
-+ libtool --mode=link --tag=CC $(CC) $(F77SYSLIB) -o libcblas.la \
++ libtool --mode=link --tag=CC $(CC) -o libcblas.la \
+ ../libs/libatlas.la *.lo -rpath $(RPATH); \
+ rm -f .libs/libcblas.so.0.0.0; \
-+ $(CC) -shared .libs/*.o $(F77SYSLIB) $(BLDdir)/gentoo/libs/libatlas.so \
++ $(CC) -shared .libs/*.o $(BLDdir)/gentoo/libs/libatlas.so \
+ -Wl,-soname -Wl,libcblas.so.0 -o .libs/libcblas.so.0.0.0; \
+ libtool --mode=install $(INSTALLER) libcblas.la $(BLDdir)/gentoo/threaded-libs
+
diff --git a/sci-libs/camd/Manifest b/sci-libs/camd/Manifest
new file mode 100644
index 000000000..72098a26b
--- /dev/null
+++ b/sci-libs/camd/Manifest
@@ -0,0 +1,12 @@
+AUX camd-2.2.0-autotools.patch 2035 RMD160 31b6827ccafc0a3ff4b6d869f306321cd13acd4b SHA1 82900c21a0c91ff54096e8cffec3254c9c6d7e3e SHA256 97e9a314a21526e77886948507e1e200724d14e77d93a2d85330900cd4763bf5
+MD5 0a5ebecb488f868075a65be5246fb76f files/camd-2.2.0-autotools.patch 2035
+RMD160 31b6827ccafc0a3ff4b6d869f306321cd13acd4b files/camd-2.2.0-autotools.patch 2035
+SHA256 97e9a314a21526e77886948507e1e200724d14e77d93a2d85330900cd4763bf5 files/camd-2.2.0-autotools.patch 2035
+DIST CAMD-2.2.0.tar.gz 227593 RMD160 ac91f020edac556d19fb23a5f88dfd0837f85b0a SHA1 02d323da119d3203714b3c1948f62c9813ba39a7 SHA256 a8a2254335e7dfbca7e19904fdf1a5e6149c41e141356d08121e6f806b209f45
+EBUILD camd-2.2.0.ebuild 900 RMD160 8d366c3813f2aa2aaa5f64f751861cb89b910f42 SHA1 08640b607f44539225b4abb58df19f1aff4a7a6f SHA256 50efc44995e12b4a69548019771565c12a7a7d3c22bd9aa3e0a5350e3451f31b
+MD5 bd77ea3db566c1cc08e086bc702b0c5b camd-2.2.0.ebuild 900
+RMD160 8d366c3813f2aa2aaa5f64f751861cb89b910f42 camd-2.2.0.ebuild 900
+SHA256 50efc44995e12b4a69548019771565c12a7a7d3c22bd9aa3e0a5350e3451f31b camd-2.2.0.ebuild 900
+MD5 7fae9c445b0db21953459aca75852d38 files/digest-camd-2.2.0 232
+RMD160 1ada9cab0094ecf3729258cf86f80f8a0993e24b files/digest-camd-2.2.0 232
+SHA256 098441680ce138f32e917c549809eb5faba0cbac5e59c5bbcf386f4446a06e25 files/digest-camd-2.2.0 232
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 000000000..30ef6a7ac
--- /dev/null
+++ b/sci-libs/camd/camd-2.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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_test() {
+ cd "${S}"/Demo
+ emake test || die "emake test failed"
+}
+
+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
+}
diff --git a/sci-libs/camd/files/camd-2.2.0-autotools.patch b/sci-libs/camd/files/camd-2.2.0-autotools.patch
new file mode 100644
index 000000000..f80e16546
--- /dev/null
+++ b/sci-libs/camd/files/camd-2.2.0-autotools.patch
@@ -0,0 +1,68 @@
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-09-21 15:21:37.353444654 +0100
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = README.txt
++include_HEADERS = Include/camd.h Include/camd_internal.h
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-09-21 15:22:18.395783523 +0100
+@@ -0,0 +1,12 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(camd, 2.2.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2007-09-21 15:25:49.019786301 +0100
+@@ -0,0 +1,14 @@
++CAMDCSRC = camd_aat.c camd_1.c camd_2.c camd_dump.c camd_postorder.c camd_defaults.c \
++ camd_order.c camd_control.c camd_info.c camd_valid.c camd_preprocess.c
++
++lib_LTLIBRARIES = libcamd.la
++noinst_LTLIBRARIES = libcamdi.la libcamdl.la
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++libcamdi_la_SOURCES = $(CAMDCSRC)
++libcamdi_la_CPPFLAGS = $(AM_CPPFLAGS) -DDINT
++libcamdl_la_SOURCES = $(CAMDCSRC)
++libcamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++
++libcamd_la_SOURCES = camd_global.c
++libcamd_la_LIBADD = libcamdl.la libcamdi.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2007-09-21 15:24:43.448049581 +0100
+@@ -0,0 +1,27 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++AM_LDFLAGS = -lm
++check_PROGRAMS = \
++ camd_demo \
++ camd_l_demo \
++ camd_demo2 \
++ camd_simple
++
++LDADD = $(top_builddir)/Source/libcamd.la
++
++camd_demo_SOURCES = camd_demo.c
++camd_l_demo_SOURCES = camd_l_demo.c
++camd_demo2_SOURCES = camd_demo2.c
++camd_simple_SOURCES = camd_simple.c
++
++test: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Test $$i failed!"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
diff --git a/sci-libs/camd/files/digest-camd-2.2.0 b/sci-libs/camd/files/digest-camd-2.2.0
new file mode 100644
index 000000000..9989226e4
--- /dev/null
+++ b/sci-libs/camd/files/digest-camd-2.2.0
@@ -0,0 +1,3 @@
+MD5 d80d35bbdb113da3d79e8b52d7b32144 CAMD-2.2.0.tar.gz 227593
+RMD160 ac91f020edac556d19fb23a5f88dfd0837f85b0a CAMD-2.2.0.tar.gz 227593
+SHA256 a8a2254335e7dfbca7e19904fdf1a5e6149c41e141356d08121e6f806b209f45 CAMD-2.2.0.tar.gz 227593
diff --git a/sci-libs/ccolamd/Manifest b/sci-libs/ccolamd/Manifest
new file mode 100644
index 000000000..ac7d166f2
--- /dev/null
+++ b/sci-libs/ccolamd/Manifest
@@ -0,0 +1,16 @@
+AUX ccolamd-2.7.0-autotools.patch 1783 RMD160 516646a84fa3e32323b4996165b3bb6e25d5f416 SHA1 1d8ed1a5a3ca7b67e8abbdc392ee7baf152d2412 SHA256 80ea61f926d749def7ca3bf1a57666028e60b209e683766906722d546445170a
+MD5 1697bd49063912208c11f660c5392215 files/ccolamd-2.7.0-autotools.patch 1783
+RMD160 516646a84fa3e32323b4996165b3bb6e25d5f416 files/ccolamd-2.7.0-autotools.patch 1783
+SHA256 80ea61f926d749def7ca3bf1a57666028e60b209e683766906722d546445170a files/ccolamd-2.7.0-autotools.patch 1783
+AUX colamd-2.7.0-autotools.patch 454 RMD160 3892d5ebb9a51d2e8dc2fd46630283d678c8efff SHA1 3fcfb357063fe513f80115e7e8b13ab8e4dab704 SHA256 81da0b26c3bfb8f5a52e127f6236862b3fbd550e07f28cd60a86e08c2e5fbcf9
+MD5 867609e39f435dd8465474c1b9707433 files/colamd-2.7.0-autotools.patch 454
+RMD160 3892d5ebb9a51d2e8dc2fd46630283d678c8efff files/colamd-2.7.0-autotools.patch 454
+SHA256 81da0b26c3bfb8f5a52e127f6236862b3fbd550e07f28cd60a86e08c2e5fbcf9 files/colamd-2.7.0-autotools.patch 454
+DIST CCOLAMD-2.7.0.tar.gz 62566 RMD160 e2eb0e8a70e76f0b9e96373b42124ed5b6e6bcec SHA1 6486c30cfdc83814e2230dea022aff9354f65943 SHA256 b3244c3072516ce1b6c37cd57190dc514c6d8b937431a4addbbc3a4fd1ef3711
+EBUILD ccolamd-2.7.0.ebuild 777 RMD160 6e19b50e536c68256a8d6a417ae7f4aa31d9f370 SHA1 9f1d6ba427119c7af762ee9390eadbb01b1726d9 SHA256 14c1921d3b7126d4c5e0cb87a2a50d36392f642b211e81de74796ecbd1d73f93
+MD5 d15e6860dcab53fd8e011f373c1dc20d ccolamd-2.7.0.ebuild 777
+RMD160 6e19b50e536c68256a8d6a417ae7f4aa31d9f370 ccolamd-2.7.0.ebuild 777
+SHA256 14c1921d3b7126d4c5e0cb87a2a50d36392f642b211e81de74796ecbd1d73f93 ccolamd-2.7.0.ebuild 777
+MD5 1a05ba1c76408ed13ccb37018b7edf6e files/digest-ccolamd-2.7.0 238
+RMD160 6c80849f16c0f62ce8f91eef867a14b469a97d0c files/digest-ccolamd-2.7.0 238
+SHA256 b2c3de9fff77b227a852a57bd351c1d5387239c2f1d4fdc42b65b6879cb5eece files/digest-ccolamd-2.7.0 238
diff --git a/sci-libs/ccolamd/ccolamd-2.7.0.ebuild b/sci-libs/ccolamd/ccolamd-2.7.0.ebuild
new file mode 100644
index 000000000..03b4dec79
--- /dev/null
+++ b/sci-libs/ccolamd/ccolamd-2.7.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools eutils
+
+MY_PN=CCOLAMD
+DESCRIPTION="Column approximate minimum degree ordering algorithm"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ccolamd"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_test() {
+ cd "${S}"/Demo
+ emake test || die "emake test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+}
diff --git a/sci-libs/ccolamd/files/ccolamd-2.7.0-autotools.patch b/sci-libs/ccolamd/files/ccolamd-2.7.0-autotools.patch
new file mode 100644
index 000000000..755c8b7c0
--- /dev/null
+++ b/sci-libs/ccolamd/files/ccolamd-2.7.0-autotools.patch
@@ -0,0 +1,60 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-09-21 16:03:04.073238283 +0100
+@@ -0,0 +1,13 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(ccolamd, 2.7.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([
++ Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-09-21 16:03:31.218785219 +0100
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = Doc/ChangeLog README.txt
++include_HEADERS = Include/ccolamd.h
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2007-09-21 16:13:29.964905816 +0100
+@@ -0,0 +1,10 @@
++AM_CPPFLAGS = -I$(top_builddir)/Include
++lib_LTLIBRARIES = libccolamd.la
++noinst_LTLIBRARIES = libccolamdl.la libccolamdi.la
++
++libccolamdl_la_SOURCES = ccolamd.c
++libccolamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++libccolamdi_la_SOURCES = ccolamd.c
++
++libccolamd_la_SOURCES = ccolamd_global.c
++libccolamd_la_LIBADD = libccolamdl.la libccolamdi.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2007-09-21 16:15:45.513372469 +0100
+@@ -0,0 +1,22 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++check_PROGRAMS = \
++ ccolamd_example \
++ ccolamd_l_example
++
++LDADD = $(top_builddir)/Source/libccolamd.la -lm
++ccolamd_example_SOURCES = ccolamd_example.c
++ccolamd_l_example_SOURCES = ccolamd_l_example.c
++
++test: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Test $$i failed!"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
diff --git a/sci-libs/ccolamd/files/colamd-2.7.0-autotools.patch b/sci-libs/ccolamd/files/colamd-2.7.0-autotools.patch
new file mode 100644
index 000000000..adceddc06
--- /dev/null
+++ b/sci-libs/ccolamd/files/colamd-2.7.0-autotools.patch
@@ -0,0 +1,16 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-09-21 16:03:04.073238283 +0100
+@@ -0,0 +1,13 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(ccolamd, 2.7.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([
++ Source/Makefile
++ Demo/Makefile
++ Makefile])
++AC_OUTPUT
diff --git a/sci-libs/ccolamd/files/digest-ccolamd-2.7.0 b/sci-libs/ccolamd/files/digest-ccolamd-2.7.0
new file mode 100644
index 000000000..4381cee8b
--- /dev/null
+++ b/sci-libs/ccolamd/files/digest-ccolamd-2.7.0
@@ -0,0 +1,3 @@
+MD5 8cab3137260f4514eafd2c62ea4045ea CCOLAMD-2.7.0.tar.gz 62566
+RMD160 e2eb0e8a70e76f0b9e96373b42124ed5b6e6bcec CCOLAMD-2.7.0.tar.gz 62566
+SHA256 b3244c3072516ce1b6c37cd57190dc514c6d8b937431a4addbbc3a4fd1ef3711 CCOLAMD-2.7.0.tar.gz 62566
diff --git a/sci-libs/colamd/Manifest b/sci-libs/colamd/Manifest
new file mode 100644
index 000000000..f46e5dec6
--- /dev/null
+++ b/sci-libs/colamd/Manifest
@@ -0,0 +1,12 @@
+AUX colamd-2.7.0-autotools.patch 1772 RMD160 d6994990c9796c3b6d13e3e2e08bc93a9531b74b SHA1 47e2d279c311acb33d5775264c2c5b9e4842290f SHA256 7c07f731584b72a9f05dd98ab448a09b534ec23867ed358e11341631b09ea2a4
+MD5 49d6cf2a59cae26dc4fcf55c54210549 files/colamd-2.7.0-autotools.patch 1772
+RMD160 d6994990c9796c3b6d13e3e2e08bc93a9531b74b files/colamd-2.7.0-autotools.patch 1772
+SHA256 7c07f731584b72a9f05dd98ab448a09b534ec23867ed358e11341631b09ea2a4 files/colamd-2.7.0-autotools.patch 1772
+DIST COLAMD-2.7.0.tar.gz 55923 RMD160 50cffcbc7d2e757fb2ced406888c27c954c79451 SHA1 da12f698c251eecdf7966a62f5bd6ec11bb238f2 SHA256 e4f3a1231efe3ff98b1ef19b6b003cb42d93d935b865adcd1467a895b40fce6d
+EBUILD colamd-2.7.0.ebuild 775 RMD160 998a62b71f3f0c6adb2c1fe91d8b703cb9c7b23a SHA1 8d11f41e398c421587ca7c8dd3f60f3e3f67f550 SHA256 5368635eb97e7bad49d11f0dcc285ec203b86afef743c1039efdbd6262eb1437
+MD5 0c72224ffea5baa6a4d6bdd68607f5b3 colamd-2.7.0.ebuild 775
+RMD160 998a62b71f3f0c6adb2c1fe91d8b703cb9c7b23a colamd-2.7.0.ebuild 775
+SHA256 5368635eb97e7bad49d11f0dcc285ec203b86afef743c1039efdbd6262eb1437 colamd-2.7.0.ebuild 775
+MD5 c57322d2533ebf95a3757adcbd90b5ae files/digest-colamd-2.7.0 235
+RMD160 358ac538d96b2b6017393003b556a2f20865df44 files/digest-colamd-2.7.0 235
+SHA256 ba7c7a39b8727b8ee04b78fb2f31ff3187d47040d75e2f2cb602cc2d831be4ad files/digest-colamd-2.7.0 235
diff --git a/sci-libs/colamd/colamd-2.7.0.ebuild b/sci-libs/colamd/colamd-2.7.0.ebuild
new file mode 100644
index 000000000..af5b7a3d7
--- /dev/null
+++ b/sci-libs/colamd/colamd-2.7.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools eutils
+
+MY_PN=COLAMD
+DESCRIPTION="Column approximate minimum degree ordering algorithm"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/colamd"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_test() {
+ cd "${S}"/Demo
+ emake test || die "emake test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+}
diff --git a/sci-libs/colamd/files/colamd-2.7.0-autotools.patch b/sci-libs/colamd/files/colamd-2.7.0-autotools.patch
new file mode 100644
index 000000000..0dd23e038
--- /dev/null
+++ b/sci-libs/colamd/files/colamd-2.7.0-autotools.patch
@@ -0,0 +1,58 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-09-21 15:33:53.034845689 +0100
+@@ -0,0 +1,12 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(colamd, 2.7.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_HEADER( UFconfig.h )
++AC_OUTPUT(
++ Makefile \
++ Demo/Makefile \
++ Source/Makefile)
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-09-21 15:34:02.954449258 +0100
+@@ -0,0 +1,3 @@
++SUBDIRS = Source Demo
++include_HEADERS = $(top_srcdir)/Include/colamd.h
++EXTRA_DIST = README.txt
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2007-09-21 15:33:38.437315407 +0100
+@@ -0,0 +1,11 @@
++AM_CFLAGS = -I$(top_builddir)/Include
++lib_LTLIBRARIES = libcolamd.la
++noinst_LTLIBRARIES = libcolamdi.la libcolamdl.la
++
++libcolamdl_la_SOURCES = colamd.c
++libcolamdl_la_CPPFLAGS = -DDLONG
++
++libcolamdi_la_SOURCES = colamd.c
++
++libcolamd_la_SOURCES = colamd_global.c
++libcolamd_la_LIBADD = libcolamdi.la libcolamdl.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2007-09-21 15:57:36.290559012 +0100
+@@ -0,0 +1,20 @@
++LDADD = $(top_builddir)/Source/libcolamd.la
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++check_PROGRAMS = colamd_example colamd_l_example
++colamd_example_SOURCES = colamd_example.c
++colamd_l_example_SOURCES = colamd_l_example.c
++colamd_l_example_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++
++test: $(check_PROGRAMS)
++ @for i in $(check_PROGRAMS); do \
++ echo "Testing $$i"; \
++ ./$$i > my_$$i.out; \
++ if ! diff $$i.out my_$$i.out; then \
++ echo "Testing $$i failed"; \
++ exit 1; \
++ fi \
++ done;
++
++clean-local:
++ rm -f my*.out
diff --git a/sci-libs/colamd/files/digest-colamd-2.7.0 b/sci-libs/colamd/files/digest-colamd-2.7.0
new file mode 100644
index 000000000..bd52c725f
--- /dev/null
+++ b/sci-libs/colamd/files/digest-colamd-2.7.0
@@ -0,0 +1,3 @@
+MD5 311831d640af502ebfcd567d5afbcd5c COLAMD-2.7.0.tar.gz 55923
+RMD160 50cffcbc7d2e757fb2ced406888c27c954c79451 COLAMD-2.7.0.tar.gz 55923
+SHA256 e4f3a1231efe3ff98b1ef19b6b003cb42d93d935b865adcd1467a895b40fce6d COLAMD-2.7.0.tar.gz 55923
diff --git a/sci-libs/cxsparse/Manifest b/sci-libs/cxsparse/Manifest
new file mode 100644
index 000000000..eff6b0d71
--- /dev/null
+++ b/sci-libs/cxsparse/Manifest
@@ -0,0 +1,12 @@
+AUX cxsparse-2.0.7-autotools.patch 3327 RMD160 24cf16bede1b8acb019ec6628d4aec05746d47a5 SHA1 15cfc84e472bc498b2e76df4518fcd7eeaaf8501 SHA256 bfd9c8b361952b9bbd4596a89a78b3da6081c91e8f4fb0ffd3279f65c1f5f497
+MD5 95c5f82e8c42ea3a1b4cbbfe0e1b86f2 files/cxsparse-2.0.7-autotools.patch 3327
+RMD160 24cf16bede1b8acb019ec6628d4aec05746d47a5 files/cxsparse-2.0.7-autotools.patch 3327
+SHA256 bfd9c8b361952b9bbd4596a89a78b3da6081c91e8f4fb0ffd3279f65c1f5f497 files/cxsparse-2.0.7-autotools.patch 3327
+DIST CXSparse.tar.gz 1901144 RMD160 3199e809bd9d7f09a83beb148e4bb04c02ebf032 SHA1 f9a06735432c9a7ff79a8c278139210840d12acd SHA256 c744c22e69fe329e0cd85d160c347aa0e928302112745df8b8c911caac5b43b5
+EBUILD cxsparse-2.0.7.ebuild 684 RMD160 93d18aa59e15945f1646043715dc5e330eea08ee SHA1 5d50539cadd8ee6e275bf92741cd55444f5bc80a SHA256 b57ca6fe8f74a6b133002c90c82502e549201d0312eb66481b02ee1133c17c1f
+MD5 7d401041261689403f1469dc12c5044b cxsparse-2.0.7.ebuild 684
+RMD160 93d18aa59e15945f1646043715dc5e330eea08ee cxsparse-2.0.7.ebuild 684
+SHA256 b57ca6fe8f74a6b133002c90c82502e549201d0312eb66481b02ee1133c17c1f cxsparse-2.0.7.ebuild 684
+MD5 81683a172d04d2a3766aa2467ddc6178 files/digest-cxsparse-2.0.7 229
+RMD160 14672d1fe8244f5e3ec5d9b2c39b34a24685892e files/digest-cxsparse-2.0.7 229
+SHA256 1d815f7f58c968c5a6ecca08bb24cc441f380ac4b4fd41613ef2d5517a58b1f5 files/digest-cxsparse-2.0.7 229
diff --git a/sci-libs/cxsparse/cxsparse-2.0.7.ebuild b/sci-libs/cxsparse/cxsparse-2.0.7.ebuild
new file mode 100644
index 000000000..a849f463e
--- /dev/null
+++ b/sci-libs/cxsparse/cxsparse-2.0.7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools eutils
+
+MY_PN=CXSparse
+DESCRIPTION="Extended sparse matrix package."
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/cxsparse"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+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"
+}
diff --git a/sci-libs/cxsparse/files/cxsparse-2.0.7-autotools.patch b/sci-libs/cxsparse/files/cxsparse-2.0.7-autotools.patch
new file mode 100644
index 000000000..e723be319
--- /dev/null
+++ b/sci-libs/cxsparse/files/cxsparse-2.0.7-autotools.patch
@@ -0,0 +1,88 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-09-21 16:18:36.345100692 +0100
+@@ -0,0 +1,10 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(cxsparse, 2.0.7, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CONFIG_FILES([Makefile Demo/Makefile Source/Makefile])
++AC_OUTPUT
++
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-09-21 16:49:36.445850688 +0100
+@@ -0,0 +1,3 @@
++SUBDIRS = Demo Source
++EXTRA_DIST = README.txt
++include_HEADERS = Include/cs.h
+--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Source/Makefile.am 2007-09-21 16:44:40.012957940 +0100
+@@ -0,0 +1,24 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++CS_SOURCE = cs_add.c cs_amd.c cs_chol.c cs_cholsol.c cs_counts.c cs_cumsum.c \
++ cs_droptol.c cs_dropzeros.c cs_dupl.c cs_entry.c \
++ cs_etree.c cs_fkeep.c cs_gaxpy.c cs_happly.c cs_house.c cs_ipvec.c \
++ cs_lsolve.c cs_ltsolve.c cs_lu.c cs_lusol.c cs_util.c cs_multiply.c \
++ cs_permute.c cs_pinv.c cs_post.c cs_pvec.c cs_qr.c cs_qrsol.c \
++ cs_scatter.c cs_schol.c cs_sqr.c cs_symperm.c cs_tdfs.c cs_malloc.c \
++ cs_transpose.c cs_compress.c cs_usolve.c cs_utsolve.c cs_scc.c \
++ cs_maxtrans.c cs_dmperm.c cs_updown.c cs_print.c cs_norm.c cs_load.c \
++ cs_dfs.c cs_reach.c cs_spsolve.c cs_leaf.c cs_ereach.c cs_randperm.c
++
++lib_LTLIBRARIES = libcxsparse.la
++noinst_LTLIBRARIES = libcxsparse_di.la libcxsparse_dl.la libcxsparse_ci.la libcxsparse_cl.la
++
++libcxsparse_di_la_SOURCES = $(CS_SOURCE)
++libcxsparse_dl_la_SOURCES = $(CS_SOURCE)
++libcxsparse_dl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_LONG
++libcxsparse_ci_la_SOURCES = $(CS_SOURCE)
++libcxsparse_ci_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_COMPLEX
++libcxsparse_cl_la_SOURCES = $(CS_SOURCE)
++libcxsparse_cl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCS_LONG -DCS_COMPLEX
++
++libcxsparse_la_SOURCES = cs_convert.c
++libcxsparse_la_LIBADD = libcxsparse_di.la libcxsparse_dl.la libcxsparse_ci.la libcxsparse_cl.la
+--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Demo/Makefile.am 2007-09-21 16:38:55.422571958 +0100
+@@ -0,0 +1,39 @@
++check_PROGRAMS = \
++ cs_ci_demo1 \
++ cs_ci_demo2 \
++ cs_ci_demo3 \
++ cs_cl_demo1 \
++ cs_cl_demo2 \
++ cs_cl_demo3 \
++ cs_demo1 \
++ cs_demo2 \
++ cs_demo3 \
++ cs_di_demo1 \
++ cs_di_demo2 \
++ cs_di_demo3 \
++ cs_dl_demo1 \
++ cs_dl_demo2 \
++ cs_dl_demo3 \
++ cs_idemo \
++ cs_ldemo
++
++LDADD = $(top_blddir)/Source/libcxsparse.la -lm
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++cs_ci_demo1_SOURCES = cs_ci_demo1.c
++cs_ci_demo2_SOURCES = cs_ci_demo2.c cs_ci_demo.c
++cs_ci_demo3_SOURCES = cs_ci_demo3.c cs_ci_demo.c
++cs_cl_demo1_SOURCES = cs_cl_demo1.c
++cs_cl_demo2_SOURCES = cs_cl_demo2.c cs_cl_demo.c
++cs_cl_demo3_SOURCES = cs_cl_demo3.c cs_cl_demo.c
++cs_demo1_SOURCES = cs_demo1.c
++cs_demo2_SOURCES = cs_demo2.c cs_demo.c
++cs_demo3_SOURCES = cs_demo3.c cs_demo.c
++cs_di_demo1_SOURCES = cs_di_demo1.c
++cs_di_demo2_SOURCES = cs_di_demo2.c cs_di_demo.c
++cs_di_demo3_SOURCES = cs_di_demo3.c cs_di_demo.c
++cs_dl_demo1_SOURCES = cs_dl_demo1.c
++cs_dl_demo2_SOURCES = cs_dl_demo2.c cs_dl_demo.c
++cs_dl_demo3_SOURCES = cs_dl_demo3.c cs_dl_demo.c
++cs_idemo_SOURCES = cs_idemo.c
++cs_ldemo_SOURCES = cs_ldemo.c
diff --git a/sci-libs/cxsparse/files/digest-cxsparse-2.0.7 b/sci-libs/cxsparse/files/digest-cxsparse-2.0.7
new file mode 100644
index 000000000..36bc8bafa
--- /dev/null
+++ b/sci-libs/cxsparse/files/digest-cxsparse-2.0.7
@@ -0,0 +1,3 @@
+MD5 35cb02fbac577ed84b66a14d63aa5394 CXSparse.tar.gz 1901144
+RMD160 3199e809bd9d7f09a83beb148e4bb04c02ebf032 CXSparse.tar.gz 1901144
+SHA256 c744c22e69fe329e0cd85d160c347aa0e928302112745df8b8c911caac5b43b5 CXSparse.tar.gz 1901144
diff --git a/sci-libs/lapack-atlas/Manifest b/sci-libs/lapack-atlas/Manifest
index 97801c835..f3c0565df 100644
--- a/sci-libs/lapack-atlas/Manifest
+++ b/sci-libs/lapack-atlas/Manifest
@@ -1,7 +1,7 @@
-AUX atlas-3.7.37-shared-libs.patch 50262 RMD160 8ee22edbbfdfc88739cf7622ee3e898515258117 SHA1 6322ec071f5cedd3c9b80eb82fbe076266855fb0 SHA256 4dda9bb21e692b8f56a635e4475e7ad5569c0ef5cddacb2ddfa8449a2a5859a1
-MD5 1d6c7b69a8522c5b3c4cbb573f9d5df3 files/atlas-3.7.37-shared-libs.patch 50262
-RMD160 8ee22edbbfdfc88739cf7622ee3e898515258117 files/atlas-3.7.37-shared-libs.patch 50262
-SHA256 4dda9bb21e692b8f56a635e4475e7ad5569c0ef5cddacb2ddfa8449a2a5859a1 files/atlas-3.7.37-shared-libs.patch 50262
+AUX atlas-3.7.37-shared-libs.patch 50209 RMD160 aa9b112aee0819c85a67729dafd6c5b306966db9 SHA1 dd88d38a41b5413d9a9ec40b3456e8284c0d4a5f SHA256 1c34034f1342efb38c63485efa67e056b8e3268259d81fd0f089341e34f7309a
+MD5 535722fdc28d77fd14f922ec57d7fa76 files/atlas-3.7.37-shared-libs.patch 50209
+RMD160 aa9b112aee0819c85a67729dafd6c5b306966db9 files/atlas-3.7.37-shared-libs.patch 50209
+SHA256 1c34034f1342efb38c63485efa67e056b8e3268259d81fd0f089341e34f7309a files/atlas-3.7.37-shared-libs.patch 50209
AUX atlas-asm-gentoo.patch 408 RMD160 3cea2f4a5a96ec22a4d0cfc78d691198a2d1a0da SHA1 493d066be68c66cca1f0c906d588da8983ec7afa SHA256 00f9247d422c758ef8ff43446a36a6dbb7962f94e5d01307318c87a90a78355b
MD5 fb9ca923b595b67967a744339e7a32a6 files/atlas-asm-gentoo.patch 408
RMD160 3cea2f4a5a96ec22a4d0cfc78d691198a2d1a0da files/atlas-asm-gentoo.patch 408
diff --git a/sci-libs/lapack-atlas/files/atlas-3.7.37-shared-libs.patch b/sci-libs/lapack-atlas/files/atlas-3.7.37-shared-libs.patch
index 058991ecd..edbd32e2b 100644
--- a/sci-libs/lapack-atlas/files/atlas-3.7.37-shared-libs.patch
+++ b/sci-libs/lapack-atlas/files/atlas-3.7.37-shared-libs.patch
@@ -1023,10 +1023,10 @@ diff -Nur ATLAS.orig/Make.top ATLAS/Make.top
+
+libcblas.so:
+ cd gentoo/libcblas.a ; \
-+ libtool --mode=link --tag=CC $(CC) $(F77SYSLIB) -o libcblas.la \
++ libtool --mode=link --tag=CC $(CC) -o libcblas.la \
+ ../libs/libatlas.la *.lo -rpath $(RPATH) ; \
+ rm -f .libs/libcblas.so.0.0.0; \
-+ $(CC) -shared .libs/*.o $(LDFLAGS) $(F77SYSLIB) $(BLDdir)/gentoo/libs/libatlas.so \
++ $(CC) -shared .libs/*.o $(LDFLAGS) $(BLDdir)/gentoo/libs/libatlas.so \
+ -Wl,-soname -Wl,libcblas.so.0 -o .libs/libcblas.so.0.0.0; \
+ libtool --mode=install $(INSTALLER) libcblas.la $(BLDdir)/gentoo/libs
+
@@ -1042,10 +1042,10 @@ diff -Nur ATLAS.orig/Make.top ATLAS/Make.top
+
+libptcblas.so:
+ cd gentoo/libptcblas.a ; \
-+ libtool --mode=link --tag=CC $(CC) $(F77SYSLIB) -o libcblas.la \
++ libtool --mode=link --tag=CC $(CC) -o libcblas.la \
+ ../libs/libatlas.la *.lo -rpath $(RPATH); \
+ rm -f .libs/libcblas.so.0.0.0; \
-+ $(CC) -shared .libs/*.o $(F77SYSLIB) $(BLDdir)/gentoo/libs/libatlas.so \
++ $(CC) -shared .libs/*.o $(BLDdir)/gentoo/libs/libatlas.so \
+ -Wl,-soname -Wl,libcblas.so.0 -o .libs/libcblas.so.0.0.0; \
+ libtool --mode=install $(INSTALLER) libcblas.la $(BLDdir)/gentoo/threaded-libs
+