sci-mathematics/scilab-bin: new pkg; add 6.1.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-03-23 14:48:36 +01:00
parent ee897b02aa
commit 56271388f9
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST scilab-bin-6.1.0.tar.gz 252985998 BLAKE2B a80b82438f6af4b00465e2501914e0b5c50de4d10773800b85fd0ee91a2c9c230d7fb3ccaa0e36028ffc91ce3269c02aeb99d5d9b731c991516eefe7a380f86e SHA512 4232ecfbcb7e3e2f14991fecc94411e0530053285b680eb1faccea18565bd238efa45a391904e1926982b5a1dd50cfbf3f2703db214cba09b8fab63d1f219346

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@riseup.net</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription lang="en">
Open source, cross-platform numerical computational package and
a high-level, numerically oriented programming language.
</longdescription>
<upstream>
<remote-id type="github">scilab/scilab</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,38 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Keep in mind that PN = scilab-bin
EAPI=7
DESCRIPTION="Scientific software package for numerical computations"
HOMEPAGE="https://www.scilab.org/"
SRC_URI="https://www.scilab.org/download/${PV}/scilab-${PV}.bin.linux-x86_64.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND=""
S="${WORKDIR}/scilab-${PV}"
QA_PREBUILT="*"
QA_PRESTRIPPED="${QA_PREBUILT}"
src_install() {
for d in ACKNOWLEDGEMENTS CHANGES.md COPYING README.md
do
dodoc "${d}" && rm "${d}"
done
mkdir -p "${D}/usr/bin" || die
mkdir -p "${D}/opt/${PN}" || die
mv * "${D}/opt/${PN}" || die
pushd "${D}/usr/bin" >/dev/null || die
ln -s ../../opt/"${PN}"/bin/?* . || die
popd || die
}