Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207222 Details for
Bug 195980
[science overlay]: gmsh - a three-dimensional finite element mesh generator (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild to merge nightly sources
gmsh-9999.ebuild (text/plain), 2.27 KB, created by
Etienne Lorriaux
on 2009-10-15 16:51:57 UTC
(
hide
)
Description:
Ebuild to merge nightly sources
Filename:
MIME Type:
Creator:
Etienne Lorriaux
Created:
2009-10-15 16:51:57 UTC
Size:
2.27 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit cmake-utils flag-o-matic toolchain-funcs > >DESCRIPTION="A three-dimensional finite element mesh generator with built-in pre- and post-processing facilities." >HOMEPAGE="http://www.geuz.org/gmsh/" >SRC_URI="http://www.geuz.org/gmsh/src/${PN}-nightly-source.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="blas chaco cgns doc examples jpeg med metis mpi opencascade png zlib X" > >RDEPEND="X? ( x11-libs/fltk:1.1 ) > blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 ) > cgns? ( sci-libs/cgnslib ) > jpeg? ( media-libs/jpeg ) > med? ( >=sci-libs/med-2.3.4 ) > opencascade? ( sci-libs/opencascade ) > png? ( media-libs/libpng ) > zlib? ( sys-libs/zlib ) > mpi? ( sys-cluster/openmpi[cxx] )" > >DEPEND="${RDEPEND} > dev-util/cmake > doc? ( virtual/latex-base )" > >pkg_setup() { > ewarn "Put the F77 variable in env files to select your fortran compiler" > ewarn "example for gfortran:" > ewarn "echo \"F77=gfortran\" >> /etc/portage/env/sci-libs/gmsh" >} > >src_unpack() { > unpack ${A} > mv ${PN}-*-source ${P} >} > >src_configure() { > local mycmakeargs="" > > use blas && mycmakeargs="${mycmakeargs} > -DCMAKE_Fortran_COMPILER=$(tc-getF77)" > > mycmakeargs="${mycmakeargs} $(cmake-utils_use_enable blas BLAS_LAPACK) > $(cmake-utils_use_enable cgns CGNS) > $(cmake-utils_use_enable chaco CHACO) > $(cmake-utils_use_enable X FLTK) > $(cmake-utils_use_enable X FL_TREE) > $(cmake-utils_use_enable X GRAPHICS) > $(cmake-utils_use_enable med MED) > $(cmake-utils_use_enable metis METIS) > $(cmake-utils_use_enable opencascade OCC)" > ># I'm not sure if this is needed, but it seems to help in some circumstances ># see http://bugs.gentoo.org/show_bug.cgi?id=195980#c18 > append-ldflags -ldl -lmpi > > cmake-utils_src_configure ${mycmakeargs} \ > || die "cmake configuration failed" >} > >src_install() { > cmake-utils_src_install > > cd "${WORKDIR}"/"${PF}" > > if use doc ; then > cd ${CMAKE_BUILD_DIR} > emake pdf || die "failed to build documentation" > cd "${WORKDIR}"/"${PF}" > dodoc doc/*.txt doc/texinfo/gmsh.pdf > fi > > if use examples ; then > insinto /usr/share/doc/${PF} > doins -r demos tutorial || die "failed to install examples" > fi >}
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 195980
:
133560
|
146848
|
148025
|
160391
|
160392
|
163310
|
198350
|
198352
|
198353
|
198495
|
202956
|
207218
|
207220
|
207222
|
207823
|
227061
|
294299