
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
30 lines
867 B
Python
30 lines
867 B
Python
# Copyright 2013-2021 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 Dnstracer(Package):
|
|
"""Dnstracer determines where a given Domain Name Server gets
|
|
its information from, and follows the chain of DNS servers back to
|
|
the servers which know the data."""
|
|
|
|
homepage = "https://github.com/Orc/dnstracer"
|
|
git = "https://github.com/Orc/dnstracer.git"
|
|
|
|
version('master', branch='master')
|
|
|
|
phases = ['configure', 'build', 'install']
|
|
|
|
def configure(self, spec, prefix):
|
|
configure = Executable('./configure.sh')
|
|
configure('--prefix={0}'.format(prefix))
|
|
|
|
def build(self, spec, prefix):
|
|
make()
|
|
|
|
def install(self, spec, prefix):
|
|
make('install')
|