sci-mathematics/scilab-bin: add 2024.1.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
111bfb640e
commit
fd707eecf4
@ -1 +1,2 @@
|
|||||||
DIST scilab-2024.0.0.bin.x86_64-linux-gnu.tar.xz 207084340 BLAKE2B d5334eac77882165119484163588a4db0bb871ff7f1142b2059e0dbe5a6e76c37d530f9432bf14c3bec307ae8ed2c8af2564920994ca3455f428f76b790f45c4 SHA512 1c7bcfa7c00be4838f9a38c56fb4b792f7b024decf987869ed0752c23b453173fce762fea697659991db9c2c140fa66e7093a748d4fb52c043137cfa27b68d75
|
DIST scilab-2024.0.0.bin.x86_64-linux-gnu.tar.xz 207084340 BLAKE2B d5334eac77882165119484163588a4db0bb871ff7f1142b2059e0dbe5a6e76c37d530f9432bf14c3bec307ae8ed2c8af2564920994ca3455f428f76b790f45c4 SHA512 1c7bcfa7c00be4838f9a38c56fb4b792f7b024decf987869ed0752c23b453173fce762fea697659991db9c2c140fa66e7093a748d4fb52c043137cfa27b68d75
|
||||||
|
DIST scilab-2024.1.0.bin.x86_64-linux-gnu.tar.xz 208137512 BLAKE2B 5158d4e1c39179e0ccd6c2160ae31653dc3df47f6d3255dde9799f87cca099d4e685ef63c35ccb72017419412fe9ddb1871fe2415d4e879012b4a56746301182 SHA512 f3cea9bba6c6ccc1c220355b75e8fd814a94bca924c42eb78179ee532d1a0c44de6db07b0cde0219cdc083dff5b8dc40fd81fcd89510cd270a1867cc1a8045c3
|
||||||
|
65
sci-mathematics/scilab-bin/scilab-bin-2024.1.0.ebuild
Normal file
65
sci-mathematics/scilab-bin/scilab-bin-2024.1.0.ebuild
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Scientific software package for numerical computations"
|
||||||
|
HOMEPAGE="https://www.scilab.org/"
|
||||||
|
SRC_URI="https://www.scilab.org/download/${PV}/scilab-${PV}.bin.x86_64-linux-gnu.tar.xz"
|
||||||
|
S="${WORKDIR}/scilab-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
RESTRICT="mirror strip test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/mesa
|
||||||
|
sci-libs/lapack
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXtst
|
||||||
|
x11-libs/libXxf86vm
|
||||||
|
x11-libs/libdrm
|
||||||
|
"
|
||||||
|
|
||||||
|
DESTDIR="/opt/scilab-bin"
|
||||||
|
QA_PREBUILT="${DESTDIR}/.*"
|
||||||
|
DOCS=( ACKNOWLEDGEMENTS COPYING CHANGES.md README.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# bug #709450
|
||||||
|
mv share/appdata share/metainfo || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "${DESTDIR}"
|
||||||
|
doins -r bin include lib thirdparty
|
||||||
|
|
||||||
|
for executable in {modelica{c,t},scilab{{,-bin},-adv-cli,-cli{,-bin}},scinotes,xcos,XML2Modelica}; do
|
||||||
|
fperms +x "${DESTDIR}/bin/${executable}"
|
||||||
|
# Only symlink shellscript if there is an option
|
||||||
|
if ! [[ ${executable} =~ *-bin ]]; then
|
||||||
|
dosym "${DESTDIR}/bin/${executable}" "/usr/bin/${executable}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto "${DESTDIR}/share"
|
||||||
|
doins -r share/{locale,scilab}
|
||||||
|
|
||||||
|
insinto /usr/share
|
||||||
|
doins -r share/{applications,icons,locale,metainfo,mime}
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user