summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorArjun Guha <arjunguha@users.noreply.github.com>2021-11-15 04:56:26 -0500
committerGitHub <noreply@github.com>2021-11-15 10:56:26 +0100
commit9877c21c502b27460f70e6687ed3fd6a2d3fd0d5 (patch)
treef290bdd18deda4184ea5f8dcc617c63b8e202036 /var
parent54cc7d0f3024eeb92f1c51db6ffe70d8cb13fc03 (diff)
downloadspack-9877c21c502b27460f70e6687ed3fd6a2d3fd0d5.tar.gz
spack-9877c21c502b27460f70e6687ed3fd6a2d3fd0d5.tar.bz2
spack-9877c21c502b27460f70e6687ed3fd6a2d3fd0d5.tar.xz
spack-9877c21c502b27460f70e6687ed3fd6a2d3fd0d5.zip
racket: add new package at v8.3.0 (#27446)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/racket/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/racket/package.py b/var/spack/repos/builtin/packages/racket/package.py
new file mode 100644
index 0000000000..f092543448
--- /dev/null
+++ b/var/spack/repos/builtin/packages/racket/package.py
@@ -0,0 +1,35 @@
+# 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 Racket(Package):
+ """The Racket programming language."""
+
+ homepage = "https://www.racket-lang.org"
+ url = "https://download.racket-lang.org/releases/8.3/installers/racket-src.tgz"
+
+ maintainers = ['arjunguha']
+
+ version('8.3.0', 'c4af1a10b957e5fa0daac2b5ad785cda79805f76d11482f550626fa68f07b949')
+
+ depends_on('libffi', type=('build', 'link', 'run'))
+ depends_on('patchutils')
+
+ phases = ['configure', 'build', 'install']
+
+ def configure(self, spec, prefix):
+ with working_dir('src'):
+ configure = Executable('./configure')
+ configure("--prefix", prefix)
+
+ def build(self, spec, prefix):
+ with working_dir('src'):
+ make()
+
+ def install(self, spec, prefix):
+ with working_dir('src'):
+ make('install')