2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-10-12 21:00:21 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-10-12 21:00:21 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class Libpcap(AutotoolsPackage):
|
2019-03-15 09:49:07 +08:00
|
|
|
"""libpcap is a portable library in C/C++ for packet capture."""
|
2017-10-12 21:00:21 +08:00
|
|
|
homepage = "http://www.tcpdump.org/"
|
|
|
|
list_url = "http://www.tcpdump.org/release/"
|
|
|
|
url = "http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz"
|
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('1.8.1', sha256='673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e')
|
2018-03-10 02:46:57 +08:00
|
|
|
|
|
|
|
depends_on('flex', type='build')
|
|
|
|
depends_on('bison', type='build')
|