summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:51:58 +0800
committerGitHub <noreply@github.com>2020-09-24 11:51:58 -0500
commitc8989e22474ce175f2fa38c119ca64ec30a7955f (patch)
tree8c5ac2707753a4dac699a38d78e2c70725b0b48f /var
parent8aa06154dc9396f5151468f6ddb097813faaa766 (diff)
downloadspack-c8989e22474ce175f2fa38c119ca64ec30a7955f.tar.gz
spack-c8989e22474ce175f2fa38c119ca64ec30a7955f.tar.bz2
spack-c8989e22474ce175f2fa38c119ca64ec30a7955f.tar.xz
spack-c8989e22474ce175f2fa38c119ca64ec30a7955f.zip
Add new package: cronie (#18909)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cronie/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cronie/package.py b/var/spack/repos/builtin/packages/cronie/package.py
new file mode 100644
index 0000000000..998e366418
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cronie/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 Cronie(AutotoolsPackage):
+ """Cronie contains the standard UNIX daemon crond that runs specified
+ programs at scheduled times and related tools."""
+
+ homepage = "https://github.com/cronie-crond/cronie"
+ url = "https://github.com/cronie-crond/cronie/archive/cronie-1.5.5.tar.gz"
+
+ version('1.5.5', sha256='22c2a2b22577c0f776c1268d0e0f305c5c041e10155022a345b43b665da0ffe9')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.sbin)