Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103860 Details for
Bug 74356
sci-libs/sundials ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for sundials 2.3.0
sundials-2.3.0.ebuild (text/plain), 1.64 KB, created by
James Dominy
on 2006-12-12 06:37:26 UTC
(
hide
)
Description:
Ebuild for sundials 2.3.0
Filename:
MIME Type:
Creator:
James Dominy
Created:
2006-12-12 06:37:26 UTC
Size:
1.64 KB
patch
obsolete
># Copyright 2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit fortran > >IUSE="fortran mpi shared matlab examples" > >DESCRIPTION="SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation Solvers)" >HOMEPAGE="http://www.llnl.gov/casc/sundials/" >SRC_URI="http://www.llnl.gov/casc/sundials/download/code/${P}.tar.gz" >LICENSE="BSD" > >DEPEND="mpi? ( sys-cluster/lam-mpi ) >matlab? ( app-emacs/matlab ) >" > >SLOT="0" >KEYWORDS="~x86" > >src_compile() { > > local fconf > if use fortran; then > if ! built_with_use sys-devel/gcc fortran; then > die "sys-devel/gcc needs to have been compiled with 'fortran' enabled" > fi > if use mpi; then > if ! built_with_use sys-cluster/lam-mpi fortran; then > die "sys-cluster/lam-mpi needs to have been compiled with 'fortran' enabled" > fi > fi > > fortran_pkg_setup > fconf="F77=g77" > fi > > if use examples; then > ewarn "The examples USE flag is currently ignored, as the examples prevent correct instalaltion of the package" > #exconf="--with-examples-instdir=/usr/share/sundials/examples" > fi > > econf \ > ${fconf} \ > `use_enable shared` \ > `use_enable matlab sundialsTB` \ > `use_enable mpi` || die "econf failed" > #`use_enable examples` \ > #${exconf} \ > > emake || die "emake failed" >} > > >src_install() { > einstall DESTDIR="${D}" EXS_INSTDIR="${D}/usr/share/sundials/examples" install >} > >pkg_postinst() { > if use examples; then > einfo "Rebuilding examples" > for var in `find /usr/share/sundials/examples/ -executable`; do > $($var) > done > fi > > einfo "Please register your use of this package at http://www.llnl.gov/CASC/sundials/download/get_sundials_reg.html" >}
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 74356
:
45962
|
46864
| 103860