summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2021-03-09 16:38:49 +0800
committerGitHub <noreply@github.com>2021-03-09 09:38:49 +0100
commit26e73e848d235bb0e1d474eaf861cf041dba01b8 (patch)
treee4ececdc7946a9dcf009738a9e926a1f594a3a10
parent2ba00262e577eda760e51eb476ce7b46c5c3c98b (diff)
downloadspack-26e73e848d235bb0e1d474eaf861cf041dba01b8.tar.gz
spack-26e73e848d235bb0e1d474eaf861cf041dba01b8.tar.bz2
spack-26e73e848d235bb0e1d474eaf861cf041dba01b8.tar.xz
spack-26e73e848d235bb0e1d474eaf861cf041dba01b8.zip
iptraf-ng: new package at v1.2.1 (#22155)
-rw-r--r--var/spack/repos/builtin/packages/iptraf-ng/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/iptraf-ng/package.py b/var/spack/repos/builtin/packages/iptraf-ng/package.py
new file mode 100644
index 0000000000..cedd08f354
--- /dev/null
+++ b/var/spack/repos/builtin/packages/iptraf-ng/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 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 IptrafNg(MakefilePackage):
+ """A console-based network monitoring utility."""
+
+ homepage = "https://github.com/iptraf-ng/iptraf-ng"
+ url = "https://github.com/iptraf-ng/iptraf-ng/archive/v1.2.0.tar.gz"
+
+ version('1.2.1', sha256='9f5cef584065420dea1ba32c86126aede1fa9bd25b0f8362b0f9fd9754f00870')
+ version('1.2.0', sha256='9725115e501d083674d50a7686029d3a08f920abd35c9a2d4a28b5ddb782417f')
+ version('1.1.4', sha256='16b9b05bf5d3725d86409b901696639ad46944d02de6def87b1ceae5310dd35c')
+
+ depends_on('ncurses')
+
+ def install(self, spec, prefix):
+ make('install', 'prefix={0}'.format(prefix))