Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197140 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]
scilab-5.1.1 ebuild
scilab-5.1.1.ebuild (text/plain), 4.37 KB, created by
Guillaume Horel
on 2009-07-08 01:02:18 UTC
(
hide
)
Description:
scilab-5.1.1 ebuild
Filename:
MIME Type:
Creator:
Guillaume Horel
Created:
2009-07-08 01:02:18 UTC
Size:
4.37 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-4.1.2-r1.ebuild,v 1.3 2008/11/15 18:41:11 dertobi123 Exp $ > >EAPI="2" >inherit eutils fortran toolchain-funcs multilib autotools java-pkg-2 > >DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)" >LICENSE="CeCILL-2" >SRC_URI="http://www.scilab.org/download/${PV}/${P}-src.tar.gz" >HOMEPAGE="http://www.scilab.org/" > >SLOT="0" >IUSE="+tk -scicos +umfpack +gui +fftw -pvm +gui -doc +matio" >KEYWORDS="~amd64 ~ppc ~x86" > >RDEPEND="virtual/blas > virtual/lapack > virtual/cblas > tk? ( > >=dev-lang/tk-8.4 > >=dev-lang/tcl-8.4 > ) > scicos? ( dev-lang/ocaml ) > umfpack? ( sci-libs/umfpack ) > gui? ( > dev-java/flexdock > dev-java/gluegen > dev-java/jogl > dev-java/jgoodies-looks > dev-java/skinlf > dev-java/jrosetta > dev-java/javahelp > ) > fftw? ( sci-libs/fftw ) > matio? ( sci-libs/matio ) > pvm? ( sys-cluster/pvm )" > >DEPEND="doc? ( > dev-java/jeuclid-core > dev-java/batik > dev-java/fop > ~dev-java/saxon-6.5.5 > app-text/docbook-xsl-stylesheets > ) > ${RDEPEND}" > >pkg_setup() { > java-pkg-2_pkg_setup > need_fortran gfortran g77 >} > >src_prepare() { > > epatch "${FILESDIR}"/${P}-java-package-check.patch > epatch "${FILESDIR}"/${P}-pvmfix.patch > eautoreconf > > if use gui; then > sed -i "s|jar_resolved=flexdock|jar_resolved=$(java-pkg_getjar flexdock flexdock.jar)|" configure > sed -i "s|jar_resolved=looks|jar_resolved=$(java-pkg_getjar jgoodies-looks-2.0 looks.jar)|" configure > sed -i "s|jar_resolved=skinlf|jar_resolved=$(java-pkg_getjar skinlf skinlf.jar)|" configure > sed -i "s|jar_resolved=jogl|jar_resolved=$(java-pkg_getjar jogl jogl.jar)|" configure > sed -i "s|jar_resolved=jhall|jar_resolved=$(java-pkg_getjar javahelp jhall.jar)|" configure > sed -i "s|jar_resolved=gluegen-rt|jar_resolved=$(java-pkg_getjar gluegen gluegen-rt.jar)|" configure > sed -i "s|jar_resolved=jrosetta-API|jar_resolved=$(java-pkg_getjar jrosetta jrosetta-API.jar)|" configure > sed -i "s|jar_resolved=jrosetta-engine|jar_resolved=$(java-pkg_getjar jrosetta jrosetta-engine.jar)|" configure > sed -i "s|jar_resolved=commons-logging|jar_resolved=$(java-pkg_getjar commons-logging commons-logging.jar)|" configure > > sed -i "/<\/librarypaths>/i\<path value=\"$(java-config -i gluegen)\"\/>"${S}/etc/librarypath.xml > sed -i "/<\/librarypaths>/i\<path value=\"$(java-config -i jogl)\"\/>"${S}/etc/librarypath.xml > fi > > #docs > if use doc; then > sed -i "s|jar_resolved=batik-all|jar_resolved=$(java-pkg_getjar batik-1.7 batik-all.jar)|" configure > sed -i "s|jar_resolved=saxon|jar_resolved=$(java-pkg_getjar saxon-6.5 saxon.jar)|" configure > sed -i "s|jar_resolved=fop|jar_resolved=$(java-pkg_getjar fop fop.jar)|" configure > sed -i "s|jar_resolved=jeuclid-core|jar_resolved=$(java-pkg_getjar jeuclid-core jeuclid-core.jar)|" configure > sed -i "s|jar_resolved=commons-io|jar_resolved=$(java-pkg_getjar commons-io-1 commons-io.jar)|" configure > sed -i "s|jar_resolved=xmlgraphics-commons|jar_resolved=$(java-pkg_getjar xmlgraphics-commons-1.3 xmlgraphics-commons.jar)|" configure > sed -i "s|jar_resolved=xml-apis-ext|jar_resolved=$(java-pkg_getjar xml-commons-external-1.3 xml-apis-ext.jar)|" configure > sed -i "s|jar_resolved=avalon-framework|jar_resolved=$(java-pkg_getjar avalon-framework-4.2 avalon-framework.jar)|" configure > fi >} > >src_configure() { > local myopts > if use doc ; then > myopts="${myopts} -with-docbook=/usr/share/sgml/docbook/xsl-stylesheets/" > fi > export JAVA_HOME=`java-config -O` > econf \ > $(use_with scicos) \ > $(use_with tk) \ > $(use_with fftw) \ > $(use_with gui)\ > $(use_with gui javasci)\ > $(use_with pvm) \ > $(use_with matio) \ > $(use_with scicos) \ > $(use_with umfpack) \ > $(use_enable doc build-help) \ > ${myopts} || die "econf failed" >} > >src_compile() { > emake|| die "emake failed" > > if use doc; then > emake doc > fi > >} > >src_install() { > DESTDIR="${D}" make install || die "installation 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} "Education;Math" >} > >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