summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-06-16 17:29:25 +0200
committerGitHub <noreply@github.com>2019-06-16 17:29:25 +0200
commitce3a3507a45a83a777757ed44a5ed107e55c46ad (patch)
tree20b6cfa1a3adfbc398c29bce9b544af2da97e063
parent45c65a255a53d0a5282ae79b7bf96359cea1bcb4 (diff)
downloadspack-ce3a3507a45a83a777757ed44a5ed107e55c46ad.tar.gz
spack-ce3a3507a45a83a777757ed44a5ed107e55c46ad.tar.bz2
spack-ce3a3507a45a83a777757ed44a5ed107e55c46ad.tar.xz
spack-ce3a3507a45a83a777757ed44a5ed107e55c46ad.zip
cowsay: new package (#11743)
- A program that generates ASCII pictures of a cow with a message. - This is used by the ISC19 Singularity tutorial, so we should probably have it in Spack.
-rw-r--r--var/spack/repos/builtin/packages/cowsay/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cowsay/package.py b/var/spack/repos/builtin/packages/cowsay/package.py
new file mode 100644
index 0000000000..e09b0eeace
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cowsay/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2019 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 Cowsay(Package):
+ """A program that generates ASCII pictures of a cow with a message."""
+
+ homepage = "https://github.com/tnalpgge/rank-amateur-cowsay"
+ url = "https://github.com/tnalpgge/rank-amateur-cowsay/archive/cowsay-3.04.tar.gz"
+
+ version('3.04', sha256='d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b')
+
+ depends_on('perl', type=('run'))
+
+ def install(self, spec, prefix):
+ install_sh = Executable('./install.sh')
+ install_sh(prefix)