commit:     d016c223d9e994ce2b650a48dd78b9e4089e2725
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 11 18:55:05 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 18:59:43 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d016c223

sci-mathematics/scilab-bin: add version 6.1.1

I officially give up on making a non-bin ebuild. There are several problems:

1. The java dependencies are extremely difficult because of packaging systems
that portage does not support (gralde, maven etc). We can hack around this
as we did in dev-java/lucene::sci, but that is *a lot* of work, for a lot of
dependencies that has to be redone on each version bump.
We can solve this problem by getting the pre-compiled java dependencies from
https://github.com/scilab/scilab-prerequirements. However....

2. Scilab requires versions of libraries that we do not package any more in
::gentoo (e.g. hdf5). And adding and maintaining ebuilds for those old libraries
is too much work.

3. If we take *only* the java stuff from scilab/scilab-prerequirements, build
fails (likely incompatibility with certain versions of some non-java libraries,
see 2.)

4. If we take *all* of scilab/scilab-prerequirements build still fails (with
a different error this time).

5. The amount of scilab dependencies that are being last-rited and I therefore
have to move to ::science to keep the dependencies resolving is increasing.
Scilab is the number 1 cause of ::science breaking at the moment.

Long story short, please enjoy this pre-compiled binary ebuild that actually
works and will save us all a lot of headache.

Closes: https://bugs.gentoo.org/237572
Closes: https://bugs.gentoo.org/691272
Closes: https://github.com/gentoo/sci/issues/879
Closes: https://github.com/gentoo/sci/issues/774
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 licenses/jing                                      |  85 ++++++++
 licenses/sun-bcla-jhall                            | 234 +++++++++++++++++++++
 sci-mathematics/scilab-bin/metadata.xml            |  15 ++
 sci-mathematics/scilab-bin/scilab-bin-6.1.1.ebuild |  78 +++++++
 4 files changed, 412 insertions(+)

diff --git a/licenses/jing b/licenses/jing
new file mode 100644
index 000000000..0833c55c8
--- /dev/null
+++ b/licenses/jing
@@ -0,0 +1,85 @@
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>Jing Copying Conditions</title>
+</head>
+
+<body>
+<h1>Jing Copying Conditions</h1>
+
+<p>Copyright (c) 2001-2003 Thai Open Source Software Center Ltd<br />
+All rights reserved.</p>
+
+<p>Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:</p>
+
+<ul>
+    <li>Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.</li>
+
+    <li>Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.</li>
+
+    <li>Neither the name of the Thai Open Source Software Center Ltd nor
+    the names of its contributors may be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.</li>
+</ul>
+
+<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
+
+<h2>Third-party JARs</h2>
+
+<p>This distribution includes some additional JAR files, which have
+their own copying conditions:</p>
+
+<dl>
+
+<dt><code>saxon.jar</code></dt>
+
+<dd>Comes from the <a href="http://saxon.sourceforge.net/";>Saxon</a>
+6.5.2 distribution and is covered by these <a
+href="http://saxon.sourceforge.net/saxon6.5.2/conditions.html";>conditions</a></dd>
+
+<dt><code>xercesImpl.jar</code></dt>
+<dt><code>xml-apis.jar</code></dt>
+<dd>Come from the <a href="http://xml.apache.org/xerces2-j/";>Xerces-J</a> 2.4.0
+distribution and are covered by the <a href="xerces.copying.txt">Apache
+Software License</a></dd>
+
+<dt><code>isorelax.jar</code></dt>
+<dd>Comes from <a href="http://sourceforge.net/projects/iso-relax/";>ISO 
RELAX</a>
+2003/01/08 distribution and is covered by the following license:
+
+<p>Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI Tomoharu, 
Daisuke
+Okajima, Kohsuke Kawaguchi, and MURATA Makoto)</p>
+ 
+<p>Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+this software and associated documentation files (the "Software"), to deal in 
the Software without restriction, including without limitation the rights to 
use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
+Software, and to permit persons to whom the Software is furnished to do so, 
subject to the following conditions:</p>
+ 
+<p>The above copyright notice and this permission notice shall be included in 
all copies or substantial portions of the Software.</p>
+ 
+<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR
+A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
+</dd>
+
+</dl>
+
+</body>
+
+</html>

diff --git a/licenses/sun-bcla-jhall b/licenses/sun-bcla-jhall
new file mode 100644
index 000000000..5dfad9d6e
--- /dev/null
+++ b/licenses/sun-bcla-jhall
@@ -0,0 +1,234 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><html><head>
+       <meta http-equiv="CONTENT-TYPE" content="text/html; 
charset=iso-8859-1"><title></title>
+       
+       <meta name="GENERATOR" content="StarOffice 6.0  (Solaris Sparc)">
+       <meta name="AUTHOR" content="douglass hall">
+       <meta name="CREATED" content="20010118;13284400">
+       <meta name="CHANGED" content="20030905;13512000"></head>
+
+<body lang="en-US">
+<p align="center"><font size="4">Sun Microsystems, Inc.</font> <br><font 
size="4">Binary
+Code License Agreement</font></p>
+<p>READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL
+LICENSE TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE
+OPENING THE SOFTWARE MEDIA PACKAGE.� BY OPENING THE SOFTWARE
+MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT.� IF YOU
+ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE
+OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END
+OF THIS AGREEMENT.� IF YOU DO NOT AGREE TO ALL THESE TERMS,
+PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A
+REFUND OR, IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE
+"DECLINE" BUTTON AT THE END OF THIS AGREEMENT. 
+</p>
+<p><b>1.� LICENSE TO USE.</b>� Sun grants you a
+non-exclusive and non-transferable license for the internal use only
+of the accompanying software and documentation and any error
+corrections provided by Sun (collectively "Software"), by
+the number of users and the class of computer hardware for which the
+corresponding fee has been paid. 
+</p>
+<p><b>2.� RESTRICTIONS.�</b> Software is confidential and
+copyrighted. Title to Software and all associated intellectual
+property rights is retained by Sun and/or its licensors.� Except
+as specifically authorized in any Supplemental License Terms, you may
+not make copies of Software, other than a single copy of Software for
+archival purposes.� Unless enforcement is prohibited by
+applicable law, you may not modify, decompile, or reverse engineer
+Software.� You acknowledge that Software is not designed,
+licensed or intended for use in the design, construction, operation
+or maintenance of any nuclear facility.� Sun disclaims any
+express or implied warranty of fitness for such uses.� No right,
+title or interest in or to any trademark, service mark, logo or trade
+name of Sun or its licensors is granted under this Agreement. 
+</p>
+<p><b>3. LIMITED WARRANTY.</b>� Sun warrants to you that for a
+period of ninety (90) days from the date of purchase, as evidenced by
+a copy of the receipt, the media on which Software is furnished (if
+any) will be free of defects in materials and workmanship under
+normal use.� Except for the foregoing, Software is provided "AS
+IS".� Your exclusive remedy and Sun's entire liability
+under this limited warranty will be at Sun's option to replace
+Software media or refund the fee paid for Software. 
+</p>
+<p><b>4.� DISCLAIMER OF WARRANTY.�</b> UNLESS SPECIFIED IN
+THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS
+AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED,
+EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID. 
+</p>
+<p><b>5.� LIMITATION OF LIABILITY.</b>� TO THE EXTENT NOT
+PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
+FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED
+REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO
+THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGES.� In no event will Sun's
+liability to you, whether in contract, tort (including negligence),
+or otherwise, exceed the amount paid by you for Software under this
+Agreement.� The foregoing limitations will apply even if the
+above stated warranty fails of its essential purpose. 
+</p>
+<p><b>6.� Termination.</b>� This Agreement is effective
+until terminated.� You may terminate this Agreement at any time
+by destroying all copies of Software.� This Agreement will
+terminate immediately without notice from Sun if you fail to comply
+with any provision of this Agreement.� Upon Termination, you
+must destroy all copies of Software. 
+</p>
+<p><b>7. Export Regulations.</b> All Software and technical data
+delivered under this Agreement are subject to US export control laws
+and may be subject to export or import regulations in other
+countries.� You agree to comply strictly with all such laws and
+regulations and acknowledge that you have the responsibility to
+obtain such licenses to export, re-export, or import as may be
+required after delivery to you. 
+</p>
+<p><b>8.�� U.S. Government Restricted Rights.�</b> If
+Software is being acquired by or on behalf of the U.S. Government or
+by a U.S. Government prime contractor or subcontractor (at any tier),
+then the Government's rights in Software and accompanying
+documentation will be only as set forth in this Agreement; this is in
+accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of
+Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for
+non-DOD acquisitions). 
+</p>
+<p><b>9.� Governing Law.</b>� Any action related to this
+Agreement will be governed by California law and controlling U.S.
+federal law.� No choice of law rules of any jurisdiction will
+apply. 
+</p>
+<p><b>10.� Severability.</b> If any provision of this Agreement
+is held to be unenforceable, this Agreement will remain in effect
+with the provision omitted, unless omission would frustrate the
+intent of the parties, in which case this Agreement will immediately
+terminate. 
+</p>
+<p><b>11.� Integration.</b>� This Agreement is the entire
+agreement between you and Sun relating to its subject matter.�
+It supersedes all prior or contemporaneous oral or written
+communications, proposals, representations and warranties and
+prevails over any conflicting or additional terms of any quote,
+order, acknowledgment, or other communication between the parties
+relating to its subject matter during the term of this Agreement.�
+No modification of this Agreement will be binding, unless in writing
+and signed by an authorized representative of each party. 
+</p>
+<p align="center" style="margin-bottom: 0cm;"><font size="4"><font 
color="#000000">JAVAHELP</font>(TM)<font color="#000000"><font size="2" 
style="font-size: 9pt;">
+</font>VERSION 2.0</font></font><br><font size="4">SUPPLEMENTAL LICENSE
+TERMS</font></p>
+<p align="center" style="margin-bottom: 0cm;"><br>
+</p>
+<p>These supplemental license terms ("Supplemental Terms")
+add to or modify the terms of the Binary Code License Agreement
+(collectively, the "Agreement"). Capitalized terms not
+defined in these Supplemental Terms shall have the same meanings
+ascribed to them in the Agreement. These Supplemental Terms shall
+supersede any inconsistent or conflicting terms in the Agreement, or
+in any license contained within the Software. 
+</p>
+<p style="margin-bottom: 0.51cm;"><font color="#000000"><b>1. Software
+Internal Use and Development License Grant.</b> Subject to the terms
+and conditions of this Agreement, including, but not limited to
+Section 4 (Java(TM) Technology Restrictions) of these Supplemental
+Terms, Sun grants you a non-exclusive, non-transferable, limited
+license to reproduce internally and use internally the binary form of
+the Software complete and unmodified for the sole purpose of
+designing, developing and testing your Java applets and applications
+intended to run on the Java platform ("Programs"). </font>
+</p>
+<p style="margin-bottom: 0.51cm;"><font color="#000000"><b>2. License
+to Distribute Software.</b>� In addition to the license granted
+in Section 1 (Software Internal Use and Development License Grant) of
+these Supplemental Terms, subject to the terms and conditions of this
+Agreement, including but not limited to Section 4 (Java Technology
+Restrictions), Sun grants you a non-exclusive, non-transferable,
+limited license to reproduce and distribute the Software in binary
+form only, provided that you (i) distribute the Software complete and
+unmodified and only bundled as part of your Programs, (ii) do not
+distribute additional software intended to replace any component(s)
+of the Software, (iii) do not remove or alter any proprietary legends
+or notices contained in the Software, (iv) only distribute the
+Software subject to a license agreement that protects Sun's interests
+consistent with the terms contained in this Agreement, and (v) agree
+to defend and indemnify Sun and its licensors from and against any
+damages, costs, liabilities, settlement amounts and/or expenses
+(including attorneys' fees) incurred in connection with any claim,
+lawsuit or action by any third party that arises or results from the
+use or distribution of any and all Programs and/or Software. </font>
+</p>
+<p style="margin-bottom: 0.51cm;"><font color="#000000"><b>3. License
+to Distribute Redistributables.</b>� In addition to the license
+granted in Section 1 (Software Internal Use and Development License
+Grant) of these Supplemental Terms, subject to the terms and
+conditions of this Agreement, including but not limited to Section 3
+(Java Technology Restrictions) of these Supplemental Terms, Sun
+grants you a non-exclusive, non-transferable, limited license to
+reproduce and distribute those files specifically identified as
+redistributable in the Software "README" file
+("Redistributables") provided that: (i) you distribute the
+Redistributables complete and unmodified (unless otherwise specified
+in the applicable README file), and only bundled as part of your
+Programs, (ii) you do not distribute additional software intended to
+supersede any component(s) of the Redistributables, (iii) you do not
+remove or alter any proprietary legends or notices contained in or on
+the Redistributables, (iv) you only distribute the Redistributables
+pursuant to a license agreement that protects Sun's interests
+consistent with the terms contained in the Agreement, and (v) you
+agree to defend and indemnify Sun and its licensors from and against
+any damages, costs, liabilities, settlement amounts and/or expenses
+(including attorneys' fees) incurred in connection with any claim,
+lawsuit or action by any third party that arises or results from the
+use or distribution of any and all Programs and/or Software. </font>
+</p>
+<p style="margin-bottom: 0.51cm;"><b><font color="#000000">4. Java
+Techn</font>ology Restrictions.</b> You may not modify the Java
+Platform Interface ("JPI", identified as classes contained
+within the "java" package or any subpackages of the "java"
+package), by creating additional classes within the JPI or otherwise
+causing the addition to or modification of the classes in the JPI.�
+In the event that you create an additional class and associated
+API(s) which (i) extends the functionality of the Java platform, and
+(ii) is exposed to third party software developers for the purpose of
+developing additional software which invokes such additional API, you
+must promptly publish broadly an accurate specification for such API
+for free use by all developers. You may not create, or authorize your
+licensees to create, additional classes, interfaces, or subpackages
+that are in any way identified as "java", "javax",
+"sun" or similar convention as specified by Sun in any
+naming convention designation. 
+</p>
+<p style="margin-bottom: 0.51cm;"><b>5. Java Runtime Availability.</b>�
+Refer to the appropriate version of the Java Runtime Environment
+binary code license (currently located at
+http://www.java.sun.com/jdk/index.html) for the availability of
+runtime code which may be distributed with Java applets and
+applications. 
+</p>
+<p style="margin-bottom: 0.51cm;"><b>6. Trademarks and Logos.</b> You
+acknowledge and agree as between you and Sun that Sun owns the SUN,
+SOLARIS, JAVA, JINI, FORTE, and iPLANET trademarks and all SUN,
+SOLARIS, JAVA, JINI, FORTE, and iPLANET-related trademarks, service
+marks, logos and other brand designations ("Sun Marks"),
+and you agree to comply with the Sun Trademark and Logo Usage
+Requirements currently located at
+http://www.sun.com/policies/trademarks. Any use you make of the Sun
+Marks inures to Sun's benefit. 
+</p>
+<p style="margin-bottom: 0.51cm;"><b>7. Source Code.</b> Software may
+contain source code that is provided solely for reference purposes
+pursuant to the terms of this Agreement.  Source code may not be
+redistributed unless expressly provided for in this Agreement. Some
+source code may contain alternative license terms that apply only to
+that source code file.</p>
+<p style="margin-bottom: 0.51cm;"><b>8. Termination for Infringement.</b>�
+Either party may terminate this Agreement immediately should any
+Software become, or in either party's opinion be likely to become,
+the subject of a claim of infringement of any intellectual property
+right. 
+</p>
+<p style="margin-bottom: 0.51cm;"><font face="Thorndale"><font 
color="#000000">For
+inquiries please contact: Sun Microsystems, Inc. 4150 Network Circle,
+Santa Clara, California 95054.</font></font> <br><i>(LFI#135834/Form
+ID#011801)</i></p>
+</body></html>
\ No newline at end of file

diff --git a/sci-mathematics/scilab-bin/metadata.xml 
b/sci-mathematics/scilab-bin/metadata.xml
new file mode 100644
index 000000000..dc2f8c0b5
--- /dev/null
+++ b/sci-mathematics/scilab-bin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>sci-mathemat...@gentoo.org</email>
+               <name>Gentoo Mathematics Project</name>
+       </maintainer>
+       <longdescription lang="en">
+               Scilab is a matrix-based scientific software package. Scilab 
contains
+               hundreds of built-in mathematical functions, rich data 
structures
+               (including polynomials, rationals,linear systems, lists, 
etc...) and
+               comes with a number of specific toolboxes for control, signal
+               processing, ...
+       </longdescription>
+</pkgmetadata>

diff --git a/sci-mathematics/scilab-bin/scilab-bin-6.1.1.ebuild 
b/sci-mathematics/scilab-bin/scilab-bin-6.1.1.ebuild
new file mode 100644
index 000000000..07b7da8ee
--- /dev/null
+++ b/sci-mathematics/scilab-bin/scilab-bin-6.1.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg
+
+MY_PN="${PN//-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Scientific software package for numerical computations"
+HOMEPAGE="https://www.scilab.org/";
+SRC_URI="https://www.scilab.org/download/${PV}/${MY_P}.bin.linux-x86_64.tar.gz";
+S="${WORKDIR}/${P//-bin}"
+
+LICENSE="GPL-2 Apache-2.0 sun-bcla-jhall jing MPL-1.0 MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+# Bundled dependencies not packaged in ::gentoo
+# sci-libs/hdf5[cxx]:0/9
+# libgluegen.so (in ::sci)
+# libjogl_desktop.so (in ::sci)
+# libOpenXLSX.so (in ::sci)
+#
+# Bundled dependencies in ::gentoo
+#      dev-lang/tcl
+#      dev-libs/openssl:0/1.1
+#      dev-libs/newt
+#      dev-libs/libpcre
+#      net-misc/curl
+#      sci-libs/amd
+#      sci-libs/arpack
+#      sci-libs/camd
+#      sci-libs/ccolamd
+#      sci-libs/cholmod
+#      sci-libs/colamd
+#      sci-libs/fftw:3.0/3
+#      sci-libs/lapack
+#      sci-libs/matio
+#      sci-libs/openblas
+#      sci-libs/umfpack
+
+RDEPEND="
+       sys-libs/ncurses-compat
+       virtual/jre:1.8
+"
+
+QA_PREBUILT=( "opt/${MY_PN}/*" )
+
+src_prepare() {
+       default
+       local SCILAB_HOME="/opt/${MY_PN}"
+       # fix the .pc file to reflect the dirs where we are installing stuff
+       sed -i -e "/^prefix=/c prefix=${SCILAB_HOME}" lib/pkgconfig/scilab.pc 
|| die
+
+       # move appdata to metainfo
+       mv share/appdata share/metainfo || die
+}
+
+src_install() {
+       local SCILAB_HOME="/opt/${MY_PN}"
+       dodir "${SCILAB_HOME}"
+
+       # make convenience symlinks in PATH
+       for file in bin/*; do
+               dosym "../${MY_PN}/${file}" "/opt/${file}"
+       done
+
+       # copy all the things
+       cp -r "${S}/"*  "${ED}/${SCILAB_HOME}" || die
+
+       # move out dekstop, icons etc
+       dodir /usr/share
+       mv 
"${ED}/${SCILAB_HOME}/share/"{metainfo,applications,icons,locale,mime} 
"${ED}/usr/share/" || die
+       dodir /usr/lib64/pkgconfig
+       mv "${ED}/${SCILAB_HOME}/lib/pkgconfig/scilab.pc" 
"${ED}/usr/lib64/pkgconfig/" || die
+}

Reply via email to