summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libpcap/package.py
blob: a3d500eb1e7437ee1d936fed11284bb4fb28e424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 Libpcap(AutotoolsPackage):
    """libpcap is a portable library in C/C++ for packet capture."""
    homepage = "http://www.tcpdump.org/"
    list_url = "http://www.tcpdump.org/release/"
    url      = "http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz"

    version('1.8.1', '3d48f9cd171ff12b0efd9134b52f1447')

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