summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:59:11 +0800
committerGitHub <noreply@github.com>2020-09-23 20:59:11 -0500
commit3cdb79f5698c68fb08ef26e6e4ab6a1e542ee790 (patch)
treeb55f23a48442853eb647cb14ebd8bcf8b7648dcc /var
parent84f111ff85296ec8d21b29844355902a7f2ca149 (diff)
downloadspack-3cdb79f5698c68fb08ef26e6e4ab6a1e542ee790.tar.gz
spack-3cdb79f5698c68fb08ef26e6e4ab6a1e542ee790.tar.bz2
spack-3cdb79f5698c68fb08ef26e6e4ab6a1e542ee790.tar.xz
spack-3cdb79f5698c68fb08ef26e6e4ab6a1e542ee790.zip
Add new package: dnsmap (#18760)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dnsmap/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dnsmap/package.py b/var/spack/repos/builtin/packages/dnsmap/package.py
new file mode 100644
index 0000000000..f0b206e626
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dnsmap/package.py
@@ -0,0 +1,20 @@
+# 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 Dnsmap(MakefilePackage):
+ """dnsmap was originally released back in 2006 and was inspired
+ by the fictional story."""
+
+ homepage = "https://github.com/makefu/dnsmap"
+ git = "https://github.com/makefu/dnsmap.git"
+
+ version('master', branch='master')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('dnsmap', prefix.bin)