diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-27 22:05:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 16:05:21 +0200 |
commit | a81106757db553f8870224856e51d9ac50c2a138 (patch) | |
tree | e2cdbccea18faf65b7148d68512dcb52f112d8fa | |
parent | 1746799087db022e251ca8380b299413ffd1ef69 (diff) | |
download | spack-a81106757db553f8870224856e51d9ac50c2a138.tar.gz spack-a81106757db553f8870224856e51d9ac50c2a138.tar.bz2 spack-a81106757db553f8870224856e51d9ac50c2a138.tar.xz spack-a81106757db553f8870224856e51d9ac50c2a138.zip |
Add new package: libmnl (#18316)
-rw-r--r-- | var/spack/repos/builtin/packages/libmnl/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libmnl/package.py b/var/spack/repos/builtin/packages/libmnl/package.py new file mode 100644 index 0000000000..44b5321800 --- /dev/null +++ b/var/spack/repos/builtin/packages/libmnl/package.py @@ -0,0 +1,26 @@ +# 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 Libmnl(AutotoolsPackage): + """libmnl is a minimalistic user-space library oriented to Netlink + developers.There are a lot of common tasks in parsing, validating, + constructing of both the Netlink header and TLVs that are repetitive + and easy to get wrong.This library aims to provide simple helpers + that allows you to re-use code and to avoid re-inventing the wheel.""" + + homepage = "https://github.com/threatstack/libmnl" + url = "https://github.com/threatstack/libmnl/archive/libmnl-1.0.3.tar.gz" + + version('1.0.3', sha256='14405da1bb3a679c24e0fe1f2845d47359ed2de8055e588df4b6b19cab68e901') + version('1.0.2', sha256='2caec4716aceb245130f4e42f8c118b92618e37db8bb94e2799aff42b95c269f') + version('1.0.1', sha256='60fe2a6ce59f6118b75b598dc11fc89b97e20ff8633fbea26fc568c45bbb672b') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') |