diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-10-21 15:58:02 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-10-21 15:58:02 -0400 |
commit | 59dfb1c175b01da791c7d5dd8e8a005835558c96 (patch) | |
tree | 685b543b00eb2dc17299baed046686addf2db71f | |
parent | 345fd3b285329446af6a868dd8203a0ae6abc077 (diff) | |
parent | 7e2f3cff443dd1ae634eb375fd06ee41df149989 (diff) | |
download | spack-59dfb1c175b01da791c7d5dd8e8a005835558c96.tar.gz spack-59dfb1c175b01da791c7d5dd8e8a005835558c96.tar.bz2 spack-59dfb1c175b01da791c7d5dd8e8a005835558c96.tar.xz spack-59dfb1c175b01da791c7d5dd8e8a005835558c96.zip |
Merge pull request #134 from davidbeckingsale/features/ncdu
Added ncdu package
-rw-r--r-- | var/spack/packages/ncdu/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/packages/ncdu/package.py b/var/spack/packages/ncdu/package.py new file mode 100644 index 0000000000..234f9730d6 --- /dev/null +++ b/var/spack/packages/ncdu/package.py @@ -0,0 +1,28 @@ +from spack import * + +class Ncdu(Package): + """ + Ncdu is a disk usage analyzer with an ncurses interface. It is designed + to find space hogs on a remote server where you don't have an entire + gaphical setup available, but it is a useful tool even on regular desktop + systems. Ncdu aims to be fast, simple and easy to use, and should be able + to run in any minimal POSIX-like environment with ncurses installed. + """ + + homepage = "http://dev.yorhel.nl/ncdu" + url = "http://dev.yorhel.nl/download/ncdu-1.11.tar.gz" + + version('1.11', '9e44240a5356b029f05f0e70a63c4d12') + version('1.10', '7535decc8d54eca811493e82d4bfab2d') + version('1.9' , '93258079db897d28bb8890e2db89b1fb') + version('1.8' , '94d7a821f8a0d7ba8ef3dd926226f7d5') + version('1.7' , '172047c29d232724cc62e773e82e592a') + + depends_on("ncurses") + + def install(self, spec, prefix): + configure('--prefix=%s' % prefix, + '--with-ncurses=%s' % spec['ncurses']) + + make() + make("install") |