Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48044 Details for
Bug 31554
Please add an ebuild for plplot.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
plplot-5.3.1-r1.ebuild
plplot-5.3.1-r1.ebuild (text/plain), 4.37 KB, created by
Colin Macdonald
on 2005-01-09 12:56:47 UTC
(
hide
)
Description:
plplot-5.3.1-r1.ebuild
Filename:
MIME Type:
Creator:
Colin Macdonald
Created:
2005-01-09 12:56:47 UTC
Size:
4.37 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># Known problems with this ebuild: ># - Not support for libqhull. ># - No documentation building. > >DESCRIPTION="A Scientific Plotting Library" >HOMEPAGE="http://${PN}.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" >LICENSE="LGPL-2" > >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="debug doc f77 gd-external gnome ifc java jpeg png python tcltk tetex truetype X itcl octave" > >DEPEND="${RDEPEND} > dev-util/pkgconfig > ifc? ( dev-lang/ifc )" > # For documentation building (currently doesn't work). > # doc? ( app-text/docbook-sgml-utils ) > >RDEPEND="virtual/glibc > sys-apps/man > dev-lang/perl > app-text/opensp > python? ( dev-python/numeric ) > java? ( virtual/jre ) > tetex? ( app-text/jadetex ) > octave? ( sci-mathematics/octave ) > external-gd? ( media-libs/libgd ) > truetype? ( media-libs/freetype ) > X? ( virtual/x11 > tcltk? ( dev-lang/tcl > dev-lang/tk > itcl? ( dev-tcltk/itcl ) > ) > gnome? ( gnome-base/gnome-libs ) > )" > # Optional support for libqhull (currently doesn't work). > # qhull? ( media-libs/qhull ) > # Documentation building (if it worked) would produce info files. > # sys-apps/texinfo > >pkg_setup() { > # If the fortran interface is wanted, the gnu f77 compiler > # is needed unless ifc is used (which is taken care of in > # the dependencies). > use f77 && ! use ifc || if [ -z 'which g77' ]; then > eerror "GNU fortran 77 compiler not found on the system." > eerror "Please add fortran to your USE flags and reemerge gcc." > die > fi >} > >src_compile() { > # Doesn't compile with j > 1. > MAKEOPTS="${MAKEOPTS} -e -j1" > > # Export DATA_DIR so that configure uses correct install path > export DATA_DIR="/usr/share/${PN}" > > local EXTRA_CONF > > # Compilation options (debug, documentation). > EXTRA_CONF="${EXTRA_CONF} $(use_with debug)" > # Documentation building doesn't work. > # The xml catalogs are not found. > # if use doc; then > # EXTRA_CONF="${EXTRA_CONF} --enable-builddoc \ > # --with-xml-declaration=/usr/share/sgml/xml.dcl" > # else > # EXTRA_CONF="${EXTRA_CONF} --disable-builddoc" > # fi > EXTRA_CONF="${EXTRA_CONF} --disable-builddoc" > > # Language bindings. > EXTRA_CONF="${EXTRA_CONF} $(use_enable python)" > EXTRA_CONF="${EXTRA_CONF} $(use_enable java)" > EXTRA_CONF="${EXTRA_CONF} $(use_enable octave)" > if use ifc; then > EXTRA_CONF="${EXTRA_CONF} --enable-f77 F77=/opt/intel/compiler70/ia32/bin/ifc" > elif use f77; then > EXTRA_CONF="${EXTRA_CONF} --enable-f77" > else > EXTRA_CONF="${EXTRA_CONF} --disable-f77" > fi > > # Device drivers. > EXTRA_CONF="${EXTRA_CONF} $(use_enable jpeg)" > EXTRA_CONF="${EXTRA_CONF} $(use_enable png)" > EXTRA_CONF="${EXTRA_CONF} $(use_enable tetex pstex)" > # Dynamic driver loading causes segfaults. > EXTRA_CONF="${EXTRA_CONF} --disable-dyndrivers" > # The linuxvga driver doesn't compile. > EXTRA_CONF="${EXTRA_CONF} --disable-linuxvga" > > # Support for optional libraries. > EXTRA_CONF="${EXTRA_CONF} $(use_with truetype freetype)" > # Support for libqhull doesn't work. The configure script > # doesn't find the lib. > # EXTRA_CONF="${EXTRA_CONF} $(use_with qhull)" > EXTRA_CONF="${EXTRA_CONF} --without-qhull" > > # Additional X-dependent language bindings and device drivers. > if use X; then > EXTRA_CONF="${EXTRA_CONF} --with-x" > if use tcltk; then > EXTRA_CONF="${EXTRA_CONF} --enable-tcl" > EXTRA_CONF="${EXTRA_CONF} $(use_enable itcl)" > else > EXTRA_CONF="${EXTRA_CONF} --disable-tcl" > EXTRA_CONF="${EXTRA_CONF} --disable-tk" > EXTRA_CONF="${EXTRA_CONF} --disable-itcl" > fi > EXTRA_CONF="${EXTRA_CONF} $(use_enable gnome)" > else > EXTRA_CONF="${EXTRA_CONF} --without-x" > EXTRA_CONF="${EXTRA_CONF} --disable-tcl" > EXTRA_CONF="${EXTRA_CONF} --disable-itcl" > EXTRA_CONF="${EXTRA_CONF} --disable-gnome" > fi > > econf ${EXTRA_CONF} || die > emake || die >} > >src_install() { > make install DESTDIR=${D} || die > > # To match the Gentoo FSH. > mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${PF} > if use java; then > mv ${D}/usr/lib/java/plplot ${D}/usr/share/${PN}/lib > rm -r ${D}/usr/lib/java > fi > if use octave; then > # fix the path to plplot's .m files > mv ${D}/usr/share/plplot_octave ${D}/usr/share/plplot/octave || die > sed -ie 's:/usr/share/plplot_octave:/usr/share/plplot/octave:' \ > ${D}/usr/share/octave/site/m/PLplot/plplot_octave_path.m > fi > > # Gzip the basic documentation. > gzip ${D}/usr/share/doc/${PF}/* > # Install prebuilt documentation. > use doc && dohtml doc/docbook/src/*.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 31554
:
19567
|
20311
|
20528
|
33383
|
33384
|
43960
|
48042
| 48044