blob: 088eb6aadf2db229f845aeb106269de75d97e52e (
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
24
25
26
27
28
|
# Copyright 2013-2024 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.package import *
class Dnstop(AutotoolsPackage):
"""Stay on top of your DNS traffic."""
homepage = "https://github.com/measurement-factory/dnstop"
git = "https://github.com/measurement-factory/dnstop.git"
license("BSD-3-Clause")
version("master", branch="master")
depends_on("libpcap")
depends_on("ncurses")
def configure_args(self):
return ["LIBS=-ltinfo"]
def install(self, spec, prefix):
mkdirp(prefix.bin)
mkdirp(prefix.share.man.man8)
make("BINPATH={0}".format(prefix.bin), "MANPATH={0}/".format(prefix), "install")
|