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:
parent
ee897b02aa
commit
56271388f9
1
sci-mathematics/scilab-bin/Manifest
Normal file
1
sci-mathematics/scilab-bin/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST scilab-bin-6.1.0.tar.gz 252985998 BLAKE2B a80b82438f6af4b00465e2501914e0b5c50de4d10773800b85fd0ee91a2c9c230d7fb3ccaa0e36028ffc91ce3269c02aeb99d5d9b731c991516eefe7a380f86e SHA512 4232ecfbcb7e3e2f14991fecc94411e0530053285b680eb1faccea18565bd238efa45a391904e1926982b5a1dd50cfbf3f2703db214cba09b8fab63d1f219346
|
15
sci-mathematics/scilab-bin/metadata.xml
Normal file
15
sci-mathematics/scilab-bin/metadata.xml
Normal 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>
|
38
sci-mathematics/scilab-bin/scilab-bin-6.1.0.ebuild
Normal file
38
sci-mathematics/scilab-bin/scilab-bin-6.1.0.ebuild
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user