summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/dnstracer/package.py
blob: 5943c868e53610b2f2a8b6fc28c09e5f53d26d16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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(MakefilePackage):
    """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')

    def edit(self, spec, prefix):
        configure = Executable('./configure.sh')
        configure('--prefix={0}'.format(prefix))