Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73111 Details for
Bug 112781
sci-libs/acml-3.0.0 not updated to new distfile name
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
acml-3.0.0.ebuild
acml-3.0.0.ebuild (text/plain), 1.69 KB, created by
Julien Gage
on 2005-11-17 16:06:52 UTC
(
hide
)
Description:
acml-3.0.0.ebuild
Filename:
MIME Type:
Creator:
Julien Gage
Created:
2005-11-17 16:06:52 UTC
Size:
1.69 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >inherit eutils > >DESCRIPTION="AMD Core Math Library (ACML) for x86 and amd64 CPUs" >HOMEPAGE="http://developer.amd.com/acml.aspx" > >MY_PV=${PV//\./\-} >S=${WORKDIR} > >SRC_URI="amd64? ( acml-${MY_PV}-gfortran-64bit.tgz ) > x86? ( acml-${MY_PV}-gfortran-32bit.tgz )" >RESTRICT="fetch nostrip" >IUSE="sse sse2" >LICENSE="ACML" >KEYWORDS="~amd64 ~x86" >SLOT="0" >RDEPEND="virtual/libc > >=app-admin/eselect-1.0_rc2" >PROVIDE="virtual/blas > virtual/lapack" > >src_unpack() { > unpack ${A} > if [ "${ARCH}" == "amd64" ] ; then > export BITS="64" > elif [ "${ARCH}" == "x86" ] ; then > export BITS="32" > if ! use sse2 ; then > use sse \ > && export SUFFIX="_nosse2" \ > || export SUFFIX="_nosse" > fi > fi > (DISTDIR="${S}" unpack contents-acml-${MY_PV}-gfortran-${BITS}bit.tgz) > > mv Doc doc >} > >src_compile() { > return >} > >src_install() { > # Documentation > cd ${S}/doc > dodoc acml.* > > # Headers > mkdir -p ${D}/usr/include/acml/ > cp ${S}/gfortran${BITS}${SUFFIX}/include/* ${D}/usr/include/acml/ \ > || die "Could not copy include files" > > # Libraries > mkdir -p ${D}/usr/$(get_libdir)/ > cp ${S}/gfortran${BITS}${SUFFIX}/lib/* ${D}/usr/$(get_libdir)/ \ > || die "Could not copy library files" > unset SUFFIX > > # Configfiles > mkdir -p ${D}/usr/$(get_libdir)/{blas,lapack} > for x in ${FILESDIR}/*.{blas,lapack}; do > y="$(basename $x)" > cp $x ${D}/usr/$(get_libdir)/${y/*\.}/${y/\.*} > done >} > >pkg_postinst() { > einfo "To use ACML's BLAS features, you have to issue (as root):" > einfo "\n\t/usr/bin/eselect blas set ACML" > einfo "To use ACML's LAPACK features, you have to issue (as root):" > einfo "\n\t/usr/bin/eselect lapack set ACML" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 112781
: 73111