diff --git a/sci-mathematics/scilab-bin/Manifest b/sci-mathematics/scilab-bin/Manifest new file mode 100644 index 0000000..fee1b91 --- /dev/null +++ b/sci-mathematics/scilab-bin/Manifest @@ -0,0 +1 @@ +DIST scilab-bin-6.1.0.tar.gz 252985998 BLAKE2B a80b82438f6af4b00465e2501914e0b5c50de4d10773800b85fd0ee91a2c9c230d7fb3ccaa0e36028ffc91ce3269c02aeb99d5d9b731c991516eefe7a380f86e SHA512 4232ecfbcb7e3e2f14991fecc94411e0530053285b680eb1faccea18565bd238efa45a391904e1926982b5a1dd50cfbf3f2703db214cba09b8fab63d1f219346 diff --git a/sci-mathematics/scilab-bin/metadata.xml b/sci-mathematics/scilab-bin/metadata.xml new file mode 100644 index 0000000..7614073 --- /dev/null +++ b/sci-mathematics/scilab-bin/metadata.xml @@ -0,0 +1,15 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + Open source, cross-platform numerical computational package and + a high-level, numerically oriented programming language. + + + scilab/scilab + + diff --git a/sci-mathematics/scilab-bin/scilab-bin-6.1.0.ebuild b/sci-mathematics/scilab-bin/scilab-bin-6.1.0.ebuild new file mode 100644 index 0000000..5a9b79b --- /dev/null +++ b/sci-mathematics/scilab-bin/scilab-bin-6.1.0.ebuild @@ -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 +}