summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/net-snmp/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/net-snmp/package.py b/var/spack/repos/builtin/packages/net-snmp/package.py
new file mode 100644
index 0000000000..e017498ca4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/net-snmp/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 NetSnmp(AutotoolsPackage):
+ """A SNMP application library, tools and daemon."""
+
+ homepage = "http://www.net-snmp.org/"
+ url = "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9/net-snmp-5.9.tar.gz"
+
+ version('5.9', sha256='04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071')
+
+ depends_on('perl-extutils-makemaker')
+ depends_on('ncurses')
+
+ def configure_args(self):
+ args = ['--with-defaults', 'LIBS=-ltinfo']
+ return args