summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-02-22 18:46:29 +0100
committerGitHub <noreply@github.com>2021-02-22 09:46:29 -0800
commit6aacdbbc76d5859a14baa991b05051b257f7dc1e (patch)
treedb7bd677b93df0c4f8e638f302ccd43a391933ac
parentf7dae98eededcd3e65a42c9fb4da84ea8d426436 (diff)
downloadspack-6aacdbbc76d5859a14baa991b05051b257f7dc1e.tar.gz
spack-6aacdbbc76d5859a14baa991b05051b257f7dc1e.tar.bz2
spack-6aacdbbc76d5859a14baa991b05051b257f7dc1e.tar.xz
spack-6aacdbbc76d5859a14baa991b05051b257f7dc1e.zip
New Package: octave-gsl (#21854)
-rw-r--r--var/spack/repos/builtin/packages/octave-gsl/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octave-gsl/package.py b/var/spack/repos/builtin/packages/octave-gsl/package.py
new file mode 100644
index 0000000000..c5170f3397
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-gsl/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveGsl(OctavePackage, SourceforgePackage):
+ """Octave bindings to the GNU Scientific Library"""
+
+ homepage = "https://octave.sourceforge.io/gsl/"
+ sourceforge_mirror_path = "octave/gsl-2.1.1.tar.gz"
+
+ version('2.1.1', sha256='d028c52579e251c3f21ebfdf065dffab3ad7893434efda33b501225ef1ea6ed3')
+
+ depends_on('gsl@2.4:')
+ extends('octave@2.9.7:')
+
+ def setup_build_environment(self, env):
+ env.prepend_path('PKG_CONFIG_PATH', self.spec['gsl'].prefix)