sci-mathematics/scilab-bin: add 2024.0.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
3f812cecf7
commit
95995547ce
@ -1 +1,2 @@
|
||||
DIST scilab-2024.0.0.bin.x86_64-linux-gnu.tar.xz 207084340 BLAKE2B d5334eac77882165119484163588a4db0bb871ff7f1142b2059e0dbe5a6e76c37d530f9432bf14c3bec307ae8ed2c8af2564920994ca3455f428f76b790f45c4 SHA512 1c7bcfa7c00be4838f9a38c56fb4b792f7b024decf987869ed0752c23b453173fce762fea697659991db9c2c140fa66e7093a748d4fb52c043137cfa27b68d75
|
||||
DIST scilab-bin-6.1.0.tar.gz 252985998 BLAKE2B a80b82438f6af4b00465e2501914e0b5c50de4d10773800b85fd0ee91a2c9c230d7fb3ccaa0e36028ffc91ce3269c02aeb99d5d9b731c991516eefe7a380f86e SHA512 4232ecfbcb7e3e2f14991fecc94411e0530053285b680eb1faccea18565bd238efa45a391904e1926982b5a1dd50cfbf3f2703db214cba09b8fab63d1f219346
|
||||
|
66
sci-mathematics/scilab-bin/scilab-bin-2024.0.0.ebuild
Normal file
66
sci-mathematics/scilab-bin/scilab-bin-2024.0.0.ebuild
Normal file
@ -0,0 +1,66 @@
|
||||
# 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
|
||||
fperms +x ${DESTDIR}/thirdparty/java/lib/*
|
||||
|
||||
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