summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/votca-ctp/package.py
blob: 130426e4b730f94069f352b0ef36e626c05cb13c (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
29
30
# 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 VotcaCtp(CMakePackage):
    """Versatile Object-oriented Toolkit for Coarse-graining
       Applications (VOTCA) is a package intended to reduce the amount of
       routine work when doing systematic coarse-graining of various
       systems. The core is written in C++.

       This package contains the VOTCA charge transport engine.
    """
    homepage = "http://www.votca.org"
    url      = "https://github.com/votca/ctp/tarball/v1.5"
    git      = "https://github.com/votca/ctp.git"

    version('develop', branch='master')
    version('1.5.1', sha256='ef957c2f6b09335d0d27ecb7e1b80b55e76a100247bc0d0b3cfef7718d2a1126')
    version('1.5', sha256='31eb6bcc9339e575116f0c91fe7a4ce7d4189f31f0640329c993fea911401d65')

    depends_on("cmake@2.8:", type='build')
    for v in ["1.5", "1.5.1", "develop"]:
        depends_on('votca-tools@%s' % v, when="@%s" % v)
        depends_on('votca-csg@%s' % v, when="@%s" % v)
    depends_on("gsl")