Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82716 Details for
Bug 122958
cblas-reference-20030223.ebuild (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild with eselect support
cblas-reference-20030223.ebuild (text/plain), 1.75 KB, created by
Adam Piątyszek
on 2006-03-20 14:33:05 UTC
(
hide
)
Description:
updated ebuild with eselect support
Filename:
MIME Type:
Creator:
Adam Piątyszek
Created:
2006-03-20 14:33:05 UTC
Size:
1.75 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils fortran > >MyPN="${PN/-reference/}" > >DESCRIPTION="C interface to the BLAS" >LICENSE="public-domain" >HOMEPAGE="http://www.netlib.org/blas/" >SRC_URI="http://www.netlib.org/blas/blast-forum/${MyPN}.tgz" > >SLOT="0" >IUSE="" >KEYWORDS="~x86" > >DEPEND="app-admin/eselect > sys-devel/libtool > virtual/blas" >RDEPEND="app-admin/eselect > virtual/blas" > >FORTRAN="gfortran g77 ifc" > >S="${WORKDIR}/CBLAS" > >src_unpack() { > unpack ${A} > epatch "${FILESDIR}"/cblas-gentoo.patch >} > >src_compile() { > TOP_PATH="${DESTTREE}/$(get_libdir)/blas" > RPATH="${TOP_PATH}/reference" > cd "${S}"/src > > make all FC="libtool --mode=compile --tag=F77 ${FORTRANC}" \ > FFLAGS="${FFLAGS}" CC="libtool --mode=compile --tag=CC gcc" \ > CFLAGS="${CFLAGS} -DADD_" || die "make failed" > > libtool --mode=link --tag=F77 ${FORTRANC} -o libcblas.la *.lo \ > -rpath "${RPATH}" || die "failed to link static libraries" > libtool --mode=link --tag=F77 ${FORTRANC} -shared *.lo \ > -Wl,-soname -Wl,libcblas.so.0 -o libcblas.so.0.0.0 || \ > die "failed to link shared libraries" >} > >src_install() { > dodir "${RPATH}" || die "failed to create lib directory" > > cd "${S}"/src > > libtool --mode=install install -s libcblas.la "${D}/${RPATH}" \ > || die "failed to install static library" > > insinto "${TOP_PATH}" > doins "${FILESDIR}"/c-reference || die "failed to install config file" > > insinto "${DESTTREE}"/include/cblas > doins cblas_f77.h cblas.h || die "failed to install header files" > > dodoc "${S}"/README || die "failed to install docs" >} > >pkg_postinst() { > /usr/bin/eselect blas set reference > > einfo > einfo "C users compile against the header /usr/include/reference/cblas.h" > einfo "and link using -lcblas" > einfo >}
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 122958
:
79870
|
79871
|
82451
|
82524
|
82715
| 82716