Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335214 Details for
Bug 451406
freecad-0.12.5284, tcl8.6, netgen-4.9.13, opecascade-6.5.4 bundle - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
netgen-4.9.13.ebuild
netgen-4.9.13.ebuild (text/plain), 3.06 KB, created by
Jimmy.Jazz
on 2013-01-11 14:48:36 UTC
(
hide
)
Description:
netgen-4.9.13.ebuild
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2013-01-11 14:48:36 UTC
Size:
3.06 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="4" > >inherit eutils flag-o-matic multilib versionator autotools > >WANT_AUTOMAKE='1.11' > >DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator" >HOMEPAGE="http://www.hpfem.jku.at/netgen/" >SRC_URI="mirror://sourceforge/netgen-mesher/${P}.tar.gz" > >LICENSE="LGPL-2.1" >KEYWORDS="~amd64 ~x86" >IUSE="-ffmpeg jpeg -mpi opencascade" >SLOT="0" > >DEPEND="dev-tcltk/tix > dev-tcltk/togl:1.7 > virtual/glu > virtual/opengl > x11-libs/libXmu > opencascade? ( sci-libs/opencascade ) > ffmpeg? ( virtual/ffmpeg ) > jpeg? ( virtual/jpeg ) > mpi? ( virtual/mpi ) " >RDEPEND="${DEPEND}" ># Note, MPI has not be tested. > >src_prepare() { > epatch "${FILESDIR}/netgen-occ-6.5.1.patch" > epatch "${FILESDIR}/netgen-ffmpeg-0.6.patch" > epatch "${FILESDIR}/netgen-4.9.13-occ-Makefile.patch" > epatch "${FILESDIR}/netgen-4.9.13-PI-is-missing.patch" > > eautoreconf >} > >src_configure() { > # This is not the most clever way to deal with these flags > # but --disable-xxx does not seem to work correcly, so... > local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7" > > OSNAME='' > > if use opencascade; then > if test -f $ROOT/etc/env.d/50opencascade; then > einfo "Read Opencascade environment from $ROOT/etc/env.d/50opencascade file" > source $ROOT/etc/env.d/50opencascade > fi > myconf="${myconf} --enable-occ --with-occ=${CASROOT}" > append-flags -I${CASROOT}/${OSNAME}${OSNAME:+/}inc > append-ldflags -L${CASROOT}/${OSNAME}${OSNAME:+/}$(get_libdir) > append-ldflags -Wl,-rpath -Wl,${CASROOT}/${OSNAME}${OSNAME:+/}$(get_libdir) > fi > > if use mpi; then > myconf="${myconf} --enable-parallel" > append-flags -DOMPI_IGNORE_CXX_SEEK > append-flags -DHAVE_IOSTREAM > append-flags -DHAVE_LIMITS > fi > > use ffmpeg && myconf="${myconf} --enable-ffmpeg" > use jpeg && myconf="${myconf} --enable-jpeglib" > > append-flags -I/usr/include/togl-1.7 > append-cppflags '-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT' > > econf ${myconf} >} > >src_install() { > local NETGENDIR="/usr/share/netgen" > > echo -e "NETGENDIR=${NETGENDIR}\nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen > doenvd 99netgen > > emake DESTDIR="${D}" install || die "make install failed" > mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" > > if use opencascade; then > insinto /usr/include > doins "${S}/libsrc/include/mystdlib.h" > doins "${S}/libsrc/include/mydefs.hpp" > doins "${S}/libsrc/include/parallelinterface.hpp" > doins "${S}/libsrc/include/nginterface_v2.hpp" > doins "${S}/libsrc/include/incvis.hpp" > > local dentry > for dentry in csg general geom2d gprim interface linalg meshing occ stlgeom visualization; do > doins -r "${S}/libsrc/${dentry}/"*.hpp > done > fi > > # Install icon and .desktop for menu entry > doicon "${FILESDIR}"/${PN}.png || die "doicon failed" > domenu "${FILESDIR}"/${PN}.desktop || die "domenu failed" >} > >pkg_postinst() { > elog "Please make sure to update your environment variables:" > elog "env-update && source /etc/profile" > elog "Netgen ebuild is still under development." > elog "Help us improve the ebuild in:" > elog "http://bugs.gentoo.org/show_bug.cgi?id=155424" >}
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 451406
:
335200
|
335202
|
335204
|
335206
|
335208
|
335210
|
335212
| 335214 |
335216
|
335218
|
335220
|
335222
|
335224
|
335226
|
335228
|
335230
|
335232