summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:47:57 +0800
committerGitHub <noreply@github.com>2020-09-23 20:47:57 -0500
commitce10e4ea03f92d31279581e4b8477375a30a3dd2 (patch)
treec5322e6addd0e5bca8a56f39a160c4ebd5275a17
parent6f48ac5eb640ab17d4133bcb3b4e2ce02910cbcd (diff)
downloadspack-ce10e4ea03f92d31279581e4b8477375a30a3dd2.tar.gz
spack-ce10e4ea03f92d31279581e4b8477375a30a3dd2.tar.bz2
spack-ce10e4ea03f92d31279581e4b8477375a30a3dd2.tar.xz
spack-ce10e4ea03f92d31279581e4b8477375a30a3dd2.zip
Add new package: libnet (#18776)
-rw-r--r--var/spack/repos/builtin/packages/libnet/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libnet/package.py b/var/spack/repos/builtin/packages/libnet/package.py
new file mode 100644
index 0000000000..7d042b3101
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libnet/package.py
@@ -0,0 +1,22 @@
+# 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 Libnet(AutotoolsPackage):
+ """Libnet is an API to help with the construction and handling of
+ network packets. It provides a portable framework for low-level
+ network packet writing and handling """
+
+ homepage = "https://github.com/libnet/libnet"
+ url = "https://github.com/libnet/libnet/archive/v1.2.tar.gz"
+
+ version('1.2', sha256='b7a371a337d242c017f3471d70bea2963596bec5bd3bd0e33e8517550e2311ef')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')