Add new package: dnstop (#18935)
This commit is contained in:
parent
89cca23840
commit
a9a25acdb9
24
var/spack/repos/builtin/packages/dnstop/package.py
Normal file
24
var/spack/repos/builtin/packages/dnstop/package.py
Normal file
@ -0,0 +1,24 @@
|
||||
# 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 Dnstop(AutotoolsPackage):
|
||||
"""Stay on top of your DNS traffic."""
|
||||
|
||||
homepage = "https://github.com/measurement-factory/dnstop"
|
||||
git = "https://github.com/measurement-factory/dnstop.git"
|
||||
|
||||
version('master', branch='master')
|
||||
|
||||
depends_on('libpcap')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdirp(prefix.bin)
|
||||
mkdirp(prefix.share.man.man8)
|
||||
make('BINPATH={0}'.format(prefix.bin),
|
||||
'MANPATH={0}/'.format(prefix),
|
||||
'install')
|
Loading…
Reference in New Issue
Block a user