summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libnl/package.py
blob: d976a504ecc48c1ec8a229dea8a4dbfb5d3556c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2019 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 Libnl(AutotoolsPackage):
    """libnl - Netlink Protocol Library Suite"""

    homepage = "https://www.infradead.org/~tgr/libnl/"
    url      = "https://github.com/thom311/libnl/releases/download/libnl3_3_0/libnl-3.3.0.tar.gz"

    version('3.3.0', sha256='705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4')
    version('3.2.25', md5='03f74d0cd5037cadc8cdfa313bbd195c')

    depends_on('bison', type='build')
    depends_on('flex', type='build')
    depends_on('m4', type='build')

    conflicts('platform=darwin', msg='libnl requires FreeBSD or Linux')