aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-16 16:00:47 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-16 16:00:47 +0000
commitc399feead1b8d9ea84e3940a60a02f6b056d5df5 (patch)
tree9c6487ff15eb20e050bd3959e766f0daa43f010f /sci-libs/acml
parentadded new virtual blas, cblas and lapack (diff)
downloadsci-c399feead1b8d9ea84e3940a60a02f6b056d5df5.tar.gz
sci-c399feead1b8d9ea84e3940a60a02f6b056d5df5.tar.bz2
sci-c399feead1b8d9ea84e3940a60a02f6b056d5df5.zip
added many updates to blas/lapack packages
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@691 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs/acml')
-rw-r--r--sci-libs/acml/Manifest29
-rw-r--r--sci-libs/acml/acml-3.6.0-r1.ebuild151
-rw-r--r--sci-libs/acml/acml-3.6.1-r1.ebuild176
-rw-r--r--sci-libs/acml/files/blas.pc.in12
-rw-r--r--sci-libs/acml/files/digest-acml-3.6.0-r112
-rw-r--r--sci-libs/acml/files/digest-acml-3.6.1-r19
-rw-r--r--sci-libs/acml/files/lapack.pc.in12
7 files changed, 401 insertions, 0 deletions
diff --git a/sci-libs/acml/Manifest b/sci-libs/acml/Manifest
new file mode 100644
index 000000000..f17d88c7f
--- /dev/null
+++ b/sci-libs/acml/Manifest
@@ -0,0 +1,29 @@
+AUX blas.pc.in 318 RMD160 100136e9411ebdb6dc20c7d7034577176bac0e54 SHA1 7c3b9b718c9484bb36db5653ef137c0c3f7aca89 SHA256 08a708be96e90a601286d31f0c3b15e4d1f163a040cbb29f685a6c4b166407bf
+MD5 96cff33ac323d11dbbe2d55e9d5da4b1 files/blas.pc.in 318
+RMD160 100136e9411ebdb6dc20c7d7034577176bac0e54 files/blas.pc.in 318
+SHA256 08a708be96e90a601286d31f0c3b15e4d1f163a040cbb29f685a6c4b166407bf files/blas.pc.in 318
+AUX lapack.pc.in 314 RMD160 fa39d726a113cbfae773430b53c2621e9611bf70 SHA1 ca0d4fc03b9c43c282fd4da13694905e73a1c58d SHA256 7007cc3b3e663b1bf25df1198e7b44d55d05c400bc77c009ef229f9a5d3a06b9
+MD5 35e9a51de8c4d4c908feb5a90aa924e7 files/lapack.pc.in 314
+RMD160 fa39d726a113cbfae773430b53c2621e9611bf70 files/lapack.pc.in 314
+SHA256 7007cc3b3e663b1bf25df1198e7b44d55d05c400bc77c009ef229f9a5d3a06b9 files/lapack.pc.in 314
+DIST acml-3-6-0-gnu-32bit.tgz 9879145 RMD160 bafa6acd1d8a319fb385245559779450c7bdcd66 SHA1 7dad2ce9fb99572da79e127c711aabe29a888298 SHA256 81ee83babf134bc021e5e64983200abf815531ee20ecc5ecc97a30bbdb5cf6dd
+DIST acml-3-6-0-gnu-64bit.tgz 11101900 RMD160 f6d674a4fbf99e79109bb379d1ba5dbaf88ce010 SHA1 6f5aab32f396ac9cf99a9c142d89f0b835cb54f0 SHA256 240cd40c9f9c993c15ec113278faf8689713b45b7626da2d0c369024bec97c03
+DIST acml-3-6-0-ifort-32bit.tgz 17399749 RMD160 c41ebe1b62470858d176c5815e05893ba4caf4ad SHA1 87254fc12032ea9ea49822e00300774d8cda73b8 SHA256 1585df79ced4ecd6fdcbb59b36e2686b61d6faf7b755d5ac5a267eddeff36340
+DIST acml-3-6-0-ifort-64bit.tgz 21966276 RMD160 a6031f5cdacdc70d11c06cf6d8e8ae3149eff55f SHA1 094eb839d6a84ac5483588e965000862ae7ce40c SHA256 bdfb47a5f018d1bcca257b9223f176726663596ae0e8337dc295a312f8382950
+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
+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
diff --git a/sci-libs/acml/acml-3.6.0-r1.ebuild b/sci-libs/acml/acml-3.6.0-r1.ebuild
new file mode 100644
index 000000000..cf96e69d7
--- /dev/null
+++ b/sci-libs/acml/acml-3.6.0-r1.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs fortran
+
+DESCRIPTION="AMD Core Math Library (ACML) for x86 and amd64 CPUs"
+HOMEPAGE="http://developer.amd.com/acml.jsp"
+
+MY_PV=${PV//\./\-}
+S=${WORKDIR}
+
+IUSE="openmp ifc doc examples"
+KEYWORDS="~amd64 ~x86"
+
+SRC_URI="amd64? ( ifc? ( acml-${MY_PV}-ifort-64bit.tgz )
+ !ifc? ( openmp? ( acml-${MY_PV}-ifort-64bit.tgz )
+ !openmp? ( acml-${MY_PV}-gnu-64bit.tgz ) )
+ openmp? ( acml-${MY_PV}-ifort-64bit.tgz ) )
+ x86? ( ifc? ( acml-${MY_PV}-ifort-32bit.tgz )
+ !ifc? ( openmp? ( acml-${MY_PV}-ifort-32bit.tgz )
+ !openmp? ( acml-${MY_PV}-gnu-32bit.tgz ) )
+ openmp? ( acml-${MY_PV}-ifort-32bit.tgz ) )"
+
+RESTRICT="strip fetch"
+LICENSE="ACML"
+SLOT="0"
+
+DEPEND="app-admin/eselect-blas
+ app-admin/eselect-lapack"
+
+RDEPEND="${DEPEND}
+ openmp? ( >=dev-lang/ifc-9 )
+ doc? ( app-doc/blas-docs app-doc/lapack-docs )"
+
+pkg_nofetch() {
+ einfo "Please download the ACML from:"
+ einfo "${HOMEPAGE}"
+ einfo "and place it in ${DISTDIR}."
+ einfo "The previous versions could be found at"
+ einfo "http://developer.amd.com/acmlarchive.jsp"
+ einfo "SRC=${A} $SRC_URI"
+}
+
+pkg_setup() {
+ elog "From version 3.5.0 on, ACML no longer supports"
+ 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=ifc
+ FORT=ifort
+ ! use ifc && ! use openmp && FORTRAN=g77 && FORT=gnu
+ fortran_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ (DISTDIR="${S}" unpack contents-acml-*.tgz)
+ use openmp || rm -rf ${FORT}*_mp*
+ FORTDIRS="$(ls -d ${FORT}*)"
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+ return
+}
+
+src_test() {
+ for fort in ${FORTDIRS}; do
+ einfo "Testing acml for $(basename ${fort})"
+ cd "${S}/${fort}/examples"
+ for d in . acml_mv; do
+ cd "${S}/${fort}/examples/${d}"
+ emake \
+ ACMLDIR="${S}/${fort}" \
+ F77="${FORTRANC}" \
+ CC="$(tc-getCC)" \
+ CPLUSPLUS="$(tc-getCXX)" \
+ || die "emake test in ${fort}/examples/${d} failed"
+ emake clean
+ done
+ done
+}
+
+src_install() {
+ # respect acml default install dir (and FHS)
+ 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}"
+
+ # install profiles
+ 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"
+ extflags="${extflags} -openmp"
+ fi
+ for l in blas lapack; do
+ # pkgconfig files
+ sed -e "s:@LIBDIR@:$(get_libdir):" \
+ -e "s:@PV@:${PV}:" \
+ -e "s:@ACMLDIR@:${acmldir}:g" \
+ -e "s:@EXTLIBS@:${extlibs}:g" \
+ -e "s:@EXTFLAGS@:${extflags}:g" \
+ "${FILESDIR}"/${l}.pc.in > ${l}.pc \
+ || die "sed ${l}.pc failed"
+ insinto ${acmldir}/lib
+ doins ${l}.pc
+
+ # eselect files
+ cat > eselect.${l} << EOF
+${libname}.so /usr/@LIBDIR@/lib${l}.so.0
+${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}
+ done
+ echo "LDPATH=${instdir}/${fort}/lib" > 35acml
+ echo "INCLUDE=${instdir}/${fort}/include" >> 35acml
+ done
+
+ # paths
+ doenvd 35acml
+
+ use doc || rm -rf "${S}"/Doc/acml.pdf "${S}"/Doc/html
+ cp -pPR "${S}"/Doc "${D}${instdir}"
+}
+
+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}
+ 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
new file mode 100644
index 000000000..48e226d9f
--- /dev/null
+++ b/sci-libs/acml/acml-3.6.1-r1.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs fortran
+
+DESCRIPTION="AMD Core Math Library (ACML) for x86 and amd64 CPUs"
+HOMEPAGE="http://developer.amd.com/acml.jsp"
+
+MY_PV=${PV//\./\-}
+S=${WORKDIR}
+SRC_URI="x86? ( acml-${MY_PV}-gfortran-32bit.tgz )
+ amd64? ( ( acml-${MY_PV}-gfortran-64bit.tgz )
+ int64? ( acml-${MY_PV}-gfortran-64bit-int64.tgz ) )"
+
+
+RESTRICT="strip fetch"
+IUSE="openmp int64 test 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"
+
+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() {
+ einfo "Please download the ACML from:"
+ einfo "${HOMEPAGE}"
+ einfo "and place it in ${DISTDIR}"
+ einfo "The previous versions could be found at"
+ einfo "http://developer.amd.com/acmlarchive.jsp"
+}
+
+pkg_setup() {
+ elog "From version 3.5.0 on, ACML no longer supports"
+ 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
+ if ! use openmp && [[ $(gcc-version) != "4.1" ]]; then
+ eerror "You need gcc-4.1.x to test acml."
+ eerror "Please use gcc-config to swicth gcc version 4.1.x"
+ die "setup gcc failed"
+ elif use openmp && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]]; then
+ eerror "You need gfortran >= 4.2 to use openmp features."
+ eerror "Please use gcc-config to switch gcc version >= 4.2"
+ die "setup gcc failed"
+ fi
+ fi
+}
+
+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}"
+ die ;;
+ esac
+ use openmp || rm -rf ${FORT}*_mp*
+ FORTDIRS="$(ls -d ${FORT}*)"
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+ return
+}
+
+src_test() {
+ local forts=${FORTDIRS}
+ # only testing with current compiler
+ use openmp && forts="$(ls -d ${FORT}*_mp*)"
+ for fort in ${forts}; do
+ einfo "Testing acml for ${fort}"
+ cd "${S}/${fort}/examples"
+ for d in . acml_mv; do
+ cd "${S}/${fort}/examples/${d}"
+ emake \
+ ACMLDIR="${S}/${fort}" \
+ F77="${FORTRANC}" \
+ CC="$(tc-getCC)" \
+ CPLUSPLUS="$(tc-getCXX)" \
+ || die "emake test in ${fort}/examples/${d} failed"
+ emake clean
+ done
+ done
+}
+
+src_install() {
+ # respect acml default install dir (and FHS)
+ 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}"
+
+ # install profiles
+ local acmldir=${instdir}/${fort}
+ local libname=${acmldir}/lib/libacml
+ local prof=acml-${FORTRANC}
+ local extlibs
+ local extflags
+ if [[ "${fort}" =~ "int64" ]]; then
+ prof="${prof}-int64"
+ extflags="${extflags} -fdefault-integer-8"
+ fi
+ if [[ "${fort}" =~ "_mp" ]]; then
+ prof="${prof}-openmp"
+ extlibs="-lpthread"
+ libname="${libname}_mp"
+ extflags="${extflags} -fopenmp"
+ fi
+ for l in blas lapack; do
+ # pkgconfig files
+ sed -e "s:@LIBDIR@:$(get_libdir):" \
+ -e "s:@PV@:${PV}:" \
+ -e "s:@ACMLDIR@:${acmldir}:g" \
+ -e "s:@EXTLIBS@:${extlibs}:g" \
+ -e "s:@EXTFLAGS@:${extflags}:g" \
+ "${FILESDIR}"/${l}.pc.in > ${l}.pc \
+ || die "sed ${l}.pc failed"
+ insinto ${acmldir}/lib
+ doins ${l}.pc
+
+ # eselect files
+ cat > eselect.${l} << EOF
+${libname}.so /usr/@LIBDIR@/lib${l}.so.0
+${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}
+ done
+ echo "LDPATH=${acmldir}/lib" > ${S}/35acml
+ echo "INCLUDE=${acmldir}/include" >> ${S}/35acml
+ done
+ doenvd "${S}"/35acml
+ use doc || rm -rf "${S}"/Doc/acml.pdf "${S}"/Doc/html
+ cp -pPR "${S}"/Doc "${D}${instdir}"
+}
+
+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}
+ 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"
+ elog "When using ACML without openmp, stick with gcc-4.1.x"
+ fi
+}
diff --git a/sci-libs/acml/files/blas.pc.in b/sci-libs/acml/files/blas.pc.in
new file mode 100644
index 000000000..127deeecb
--- /dev/null
+++ b/sci-libs/acml/files/blas.pc.in
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/@LIBDIR@
+includedir=@ACMLDIR@/include
+
+Name: blas
+Description: ACML implementations of the Basic Linear Algebra Subroutines
+Version: @PV@
+URL: http://developer.amd.com/acml.jsp
+Libs: -L${libdir} -lblas -L@ACMLDIR@/lib -lacml_mv
+Libs.private: @EXTLIBS@
+Cflags: @EXTFLAGS@
diff --git a/sci-libs/acml/files/digest-acml-3.6.0-r1 b/sci-libs/acml/files/digest-acml-3.6.0-r1
new file mode 100644
index 000000000..78ad50e56
--- /dev/null
+++ b/sci-libs/acml/files/digest-acml-3.6.0-r1
@@ -0,0 +1,12 @@
+MD5 544b271fac69f3a5de4859c42962d257 acml-3-6-0-gnu-32bit.tgz 9879145
+RMD160 bafa6acd1d8a319fb385245559779450c7bdcd66 acml-3-6-0-gnu-32bit.tgz 9879145
+SHA256 81ee83babf134bc021e5e64983200abf815531ee20ecc5ecc97a30bbdb5cf6dd acml-3-6-0-gnu-32bit.tgz 9879145
+MD5 cd29b05621cc8af7094bc30e3d8288e3 acml-3-6-0-gnu-64bit.tgz 11101900
+RMD160 f6d674a4fbf99e79109bb379d1ba5dbaf88ce010 acml-3-6-0-gnu-64bit.tgz 11101900
+SHA256 240cd40c9f9c993c15ec113278faf8689713b45b7626da2d0c369024bec97c03 acml-3-6-0-gnu-64bit.tgz 11101900
+MD5 b142edc1cd30cee76262c7df3d6e491c acml-3-6-0-ifort-32bit.tgz 17399749
+RMD160 c41ebe1b62470858d176c5815e05893ba4caf4ad acml-3-6-0-ifort-32bit.tgz 17399749
+SHA256 1585df79ced4ecd6fdcbb59b36e2686b61d6faf7b755d5ac5a267eddeff36340 acml-3-6-0-ifort-32bit.tgz 17399749
+MD5 e887b75ceec837ba9778b3fe18913faa acml-3-6-0-ifort-64bit.tgz 21966276
+RMD160 a6031f5cdacdc70d11c06cf6d8e8ae3149eff55f acml-3-6-0-ifort-64bit.tgz 21966276
+SHA256 bdfb47a5f018d1bcca257b9223f176726663596ae0e8337dc295a312f8382950 acml-3-6-0-ifort-64bit.tgz 21966276
diff --git a/sci-libs/acml/files/digest-acml-3.6.1-r1 b/sci-libs/acml/files/digest-acml-3.6.1-r1
new file mode 100644
index 000000000..31c6126b2
--- /dev/null
+++ b/sci-libs/acml/files/digest-acml-3.6.1-r1
@@ -0,0 +1,9 @@
+MD5 3aa80dc1a5fed2ccedceacffcbf22501 acml-3-6-1-gfortran-32bit.tgz 17682562
+RMD160 abdb8ea2f66f08f478a951b37c5ce5945854a357 acml-3-6-1-gfortran-32bit.tgz 17682562
+SHA256 adec95c65d1042c65fa1490978b76042c3bf9670df7c226cd28431473985898c acml-3-6-1-gfortran-32bit.tgz 17682562
+MD5 1eb1958766688332a83e4b9807031495 acml-3-6-1-gfortran-64bit-int64.tgz 19802195
+RMD160 3cb2317d6a5ec62797c4a11ab1336aabb50e16fa acml-3-6-1-gfortran-64bit-int64.tgz 19802195
+SHA256 56cbbb6deac2a93d21f3954511ad95ccc2a8ce893fdbf9a8605a2d81deb1fc41 acml-3-6-1-gfortran-64bit-int64.tgz 19802195
+MD5 f1df8d99221337e5644e85ca790e19c2 acml-3-6-1-gfortran-64bit.tgz 20452058
+RMD160 8df00704e7ac037dcd55a9207f45d6f0b2214ff8 acml-3-6-1-gfortran-64bit.tgz 20452058
+SHA256 efec543a8185ffb6e6e68db94ef0cbd92c1b9ee1580affe6cd0a73c580ad8bdc acml-3-6-1-gfortran-64bit.tgz 20452058
diff --git a/sci-libs/acml/files/lapack.pc.in b/sci-libs/acml/files/lapack.pc.in
new file mode 100644
index 000000000..326c75705
--- /dev/null
+++ b/sci-libs/acml/files/lapack.pc.in
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/@LIBDIR@
+includedir=@ACMLDIR@/include
+
+Name: lapack
+Description: ACML implementation of the F77 Linear Algebra PACKage
+Version: @PV@
+URL: http://developer.amd.com/acml.jsp
+Libs: -L${libdir} -llapack -L@ACMLDIR@/lib -lacml_mv
+Libs.private: @EXTLIBS@
+Cflags: @EXTFLAGS@