diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-25 00:50:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 11:50:07 -0500 |
commit | e4699cbc549f4f9f7e401b2e0d83e54e706b18e3 (patch) | |
tree | 72c3d124a530579084f6b80f1320e754c9063c99 | |
parent | 9e06e566344dd96ebdfe22cec947d6afcd71d837 (diff) | |
download | spack-e4699cbc549f4f9f7e401b2e0d83e54e706b18e3.tar.gz spack-e4699cbc549f4f9f7e401b2e0d83e54e706b18e3.tar.bz2 spack-e4699cbc549f4f9f7e401b2e0d83e54e706b18e3.tar.xz spack-e4699cbc549f4f9f7e401b2e0d83e54e706b18e3.zip |
Add new package: duperemove (#18913)
-rw-r--r-- | var/spack/repos/builtin/packages/duperemove/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/duperemove/package.py b/var/spack/repos/builtin/packages/duperemove/package.py new file mode 100644 index 0000000000..6a061993c5 --- /dev/null +++ b/var/spack/repos/builtin/packages/duperemove/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 Duperemove(MakefilePackage): + """Duperemove is a simple tool for finding duplicated extents + and submitting them for deduplication. """ + + homepage = "https://github.com/markfasheh/duperemove" + url = "https://github.com/markfasheh/duperemove/archive/v0.11.1.tar.gz" + + version('0.11.1', sha256='75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8') + + depends_on('glib') + depends_on('sqlite') + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install('duperemove', prefix.bin) |