summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/brigand/package.py
blob: b70b05c1a0c5a09923f7da339a138353f91a4831 (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
# 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 Brigand(Package):
    """Brigand Meta-programming library"""

    homepage = "https://github.com/edouarda/brigand"
    url      = "https://github.com/edouarda/brigand/archive/1.0.0.tar.gz"
    git      = "https://github.com/edouarda/brigand.git"

    version('master', branch='master')
    version('1.3.0', '0bea9713b3b712229aed289e218d577b')
    version('1.2.0', '32c0f73e7e666d33ff123334f5c9c92f')
    version('1.1.0', '073b7c8e2cbda3a81bbeb1ea5b9ca0eb')
    version('1.0.0', 'eeab3d437090f0bb7bc4eb69a5cd9c49')

    def install(self, spec, prefix):
        install_tree('include', prefix.include)