27 lines
706 B
Python
27 lines
706 B
Python
# Copyright 2013-2019 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 Callpath(Package):
|
|
homepage = "https://github.com/tgamblin/callpath"
|
|
url = "http://github.com/tgamblin/callpath-1.0.tar.gz"
|
|
|
|
version(0.8, 'foobarbaz')
|
|
version(0.9, 'foobarbaz')
|
|
version(1.0, 'foobarbaz')
|
|
|
|
depends_on("dyninst")
|
|
depends_on("mpi")
|
|
|
|
def install(self, spec, prefix):
|
|
configure("--prefix=%s" % prefix)
|
|
make()
|
|
make("install")
|
|
|
|
def setup_environment(self, senv, renv):
|
|
renv.set('FOOBAR', self.name)
|