summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hardlink/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hardlink/package.py b/var/spack/repos/builtin/packages/hardlink/package.py
new file mode 100644
index 0000000000..10287f28cb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hardlink/package.py
@@ -0,0 +1,19 @@
+# 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 Hardlink(MakefilePackage):
+ """A simple command-line utility that implements directory hardlinks"""
+
+ homepage = "https://github.com/selkhateeb/hardlink"
+ url = "https://github.com/selkhateeb/hardlink/archive/v0.1.1.tar.gz"
+
+ version('0.1.1', sha256='5876554e6dafb6627a94670ac33e750a7efeb3a5fbde5ede3e145cdb5131d1ba')
+ version('0.1', sha256='72f8a07b0dfe30a77da576b8dff5998c5f7e054052382fd61ac46157a5e039db')
+
+ def install(self, spec, prefix):
+ make('PREFIX={0}'.format(prefix), 'install-homebrew')