diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2020-11-07 21:08:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 14:08:15 -0600 |
commit | 887bf734e448f7ef1139007f5dfca0284f4a2540 (patch) | |
tree | 0c708c223ad4542e6374bdb5ce6180858c671f5c /var/spack/repos/builtin/packages/fdupes | |
parent | 1d7d4a90711c1e857a86287eb8ba4fdf355090e2 (diff) | |
download | spack-887bf734e448f7ef1139007f5dfca0284f4a2540.tar.gz spack-887bf734e448f7ef1139007f5dfca0284f4a2540.tar.bz2 spack-887bf734e448f7ef1139007f5dfca0284f4a2540.tar.xz spack-887bf734e448f7ef1139007f5dfca0284f4a2540.zip |
fdupes: new package (#19747)
Diffstat (limited to 'var/spack/repos/builtin/packages/fdupes')
-rw-r--r-- | var/spack/repos/builtin/packages/fdupes/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fdupes/package.py b/var/spack/repos/builtin/packages/fdupes/package.py new file mode 100644 index 0000000000..f2b7f32ef3 --- /dev/null +++ b/var/spack/repos/builtin/packages/fdupes/package.py @@ -0,0 +1,25 @@ +# 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 Fdupes(AutotoolsPackage): + """FDUPES is a program for identifying or deleting duplicate files + residing within specified directories.""" + + homepage = "https://github.com/adrianlopezroche/fdupes" + url = "https://github.com/adrianlopezroche/fdupes/releases/download/v2.1.2/fdupes-2.1.2.tar.gz" + + maintainers = ['michaelkuhn'] + + version('2.1.2', sha256='cd5cb53b6d898cf20f19b57b81114a5b263cc1149cd0da3104578b083b2837bd') + + variant('ncurses', default=True, description='ncurses support') + + depends_on('ncurses', when='+ncurses') + + def configure_args(self): + return self.with_or_without('ncurses') |