Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 248048 Details for
Bug 237572
[science overlay] sci-mathematics/scilab-5.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
experimental scilab 5.3.0 beta 3 ebuild
scilab-5.3.0_beta3.ebuild (text/plain), 3.92 KB, created by
Andrzej Krentosz
on 2010-09-19 21:44:10 UTC
(
hide
)
Description:
experimental scilab 5.3.0 beta 3 ebuild
Filename:
MIME Type:
Creator:
Andrzej Krentosz
Created:
2010-09-19 21:44:10 UTC
Size:
3.92 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit eutils autotools java-pkg-2 check-reqs flag-o-matic > >MY_PV=${PV/_beta/-beta-} >MY_P="${PN}-${MY_PV}" >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="Scientific software package for numerical computations" >LICENSE="CeCILL-2" >HOMEPAGE="http://www.scilab.org/" >SRC_URI="http://www.scilab.org/download/${MY_PV}/${MY_P}-src.tar.gz" > >SLOT="0" >IUSE="doc fftw +gui hdf5 +matio nls tk +umfpack xcos" >KEYWORDS="~amd64 ~x86" > ># hdf5 is required to compile (and use) xcos ># doc generation and xcos is disabled if gui is disabled ># see http://wiki.scilab.org/Description_of_configure_options ># ># jgraphx: compilation error with 1.4.1.0, should we test 1.4.0.2 (minimal req) - 1.4.0.9? ># hdf5: compiles fine with 1.8.5, but xcos won't start unless version is 1.8.4 > >RDEPEND="virtual/lapack > tk? ( dev-lang/tk ) > xcos? ( dev-lang/ocaml ) > umfpack? ( sci-libs/umfpack ) > gui? ( >=virtual/jre-1.5 > dev-java/commons-logging > >=dev-java/flexdock-0.5.2 > >=dev-java/jeuclid-core-3.1 > dev-java/jlatexmath > ~dev-java/jgraphx-1.4.0.2 > dev-java/jogl > dev-java/jgoodies-looks > dev-java/skinlf > dev-java/jrosetta > dev-java/javahelp > dev-java/fop > hdf5? ( dev-java/hdf-java ) ) > fftw? ( sci-libs/fftw:3.0 ) > matio? ( sci-libs/matio ) > hdf5? ( ~sci-libs/hdf5-1.8.4 )" > >DEPEND="${RDEPEND} > dev-util/pkgconfig > doc? ( > ~dev-java/saxon-6.5.5 > app-text/docbook-xsl-stylesheets )" > >pkg_setup() { > CHECKREQS_MEMORY="512" > java-pkg-2_pkg_setup > > # temp > filter-ldflags -Wl,--as-needed --as-needed >} > >src_prepare() { > # Increases java heap to 512M when available, when building docs > check_reqs_conditional && epatch "${FILESDIR}"/java-heap.patch > # fix scilib path > epatch "${FILESDIR}"/scilib-fix.patch > > > # add the correct java directories to the config file > sed \ > -i "/^.DEFAULT_JAR_DIR/{s|=.*|=\"$(echo $(ls -d /usr/share/*/lib))\"|}" \ > m4/java.m4 || die > > sed -i "s|-L\$SCI_SRCDIR/bin/|-L\$SCI_SRCDIR/bin/ \ > -L$(java-config -i gluegen) \ > -L$(java-config -i hdf-java) \ > -L$(java-config -i jogl)|" \ > configure.ac || die > sed -i \ > -e "/<\/librarypaths>/i\<path value=\"$(java-config -i gluegen)\"\/>" \ > -e "/<\/librarypaths>/i\<path value=\"$(java-config -i jogl)\"\/>" \ > -e "/<\/librarypaths>/i\<path value=\"$(java-config -i hdf-java)\"\/>" \ > etc/librarypath.xml || die > eautoreconf > java-pkg-2_src_prepare > > # even with hdf-java path in librarypath.xml libjhdf5.so is not detected... > epatch "${FILESDIR}"/jhdf5-configure.patch >} > >src_configure() { > local myopts > use doc && myopts="--with-docbook=/usr/share/sgml/docbook/xsl-stylesheets" > # javac complained about (j)hdf > use hdf5 && myopts="$myopts --with-hdf5-library=`java-config -i hdf-java`" > export JAVA_HOME=$(java-config -O) > export BLAS_LIBS="$(pkg-config --libs blas)" > export LAPACK_LIBS="$(pkg-config --libs lapack)" > # mpi is only used for hdf5 i/o > if use hdf5 && has_version sci-libs/hdf5[mpi]; then > export CC=mpicc > export CXX=mpicxx > export FC=mpif90 > export F77=mpif77 > fi > econf \ > --disable-rpath \ > --without-pvm \ > $(use_enable doc build-help) \ > $(use_enable nls) \ > $(use_enable nls build-localization) \ > $(use_with fftw) \ > $(use_with gui)\ > $(use_with gui javasci)\ > $(use_with hdf5) \ > $(use_with matio) \ > $(use_with umfpack) \ > $(use_with tk) \ > $(use_with xcos scicos) \ > ${myopts} >} > >src_compile() { > emake || die "emake failed" > if use doc; then > emake doc || die "emake failed" > fi >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > > # install docs > dodoc ACKNOWLEDGEMENTS CHANGES README_Unix RELEASE_NOTES \ > Readme_Visual.txt || die "failed to install docs" > > #install icon > newicon icons/scilab.xpm scilab.xpm > make_desktop_entry ${PN} "Scilab" ${PN} >} > >pkg_postinst() { > einfo "To tell Scilab about your printers, set the environment" > einfo "variable PRINTERS in the form:" > einfo > einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\"" >}
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 237572
:
195132
|
195134
|
195135
|
195410
|
195719
|
196337
|
197140
|
197167
|
201660
|
201663
|
201664
|
203708
|
206592
|
207264
|
207266
|
207281
|
211281
|
216499
|
216568
|
218759
|
218769
|
218781
|
218921
|
219327
|
219355
|
219361
|
219811
|
219943
|
221133
|
221135
|
221137
|
221139
|
230115
|
232755
|
247735
|
247737
|
247761
|
248048
|
248050
|
248071
|
248157
|
248213
|
249041
|
260226
|
260228
|
276083
|
276087
|
313535
|
317800