dev-octave/control: new package, add 3.4.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-05 09:30:47 +02:00
parent 61bbf1f66b
commit 7cf0713142
6 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit octaveforge
DESCRIPTION="Computer-Aided Control System Design"
HOMEPAGE="https://octave.sourceforge.io/control/index.html"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=sci-mathematics/octave-4.0.0"
RDEPEND="
${DEPEND}
sci-libs/slicot
"
PATCHES=(
"${FILESDIR}/${PN}-use-external-slicot.patch"
"${FILESDIR}/${PN}-lapack-3.10.0.patch"
"${FILESDIR}/${P}-respect-flags.patch"
)
src_prepare() {
default
#bundled slicot
rm -f src/slicot.tar.gz || die
octaveforge_src_prepare
}