summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hcol/package.py
blob: 70278eba93091be403333ffe1600f42b6e467774 (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
# 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 Hcol(Package):
    """This is the SPIRAL package for the Hybrid Control Operator Language
    (HCOL)."""

    homepage = "https://https://spiral.net"
    url      = "https://github.com/spiral-software/spiral-package-hcol/archive/1.0.0.zip"

    maintainers = ['spiralgen']
    extends('spiral')

    version('1.0.0', sha256='9a95574e2b061d03d264c32dbf733e893017d1644b6486c7a8a55a3b24783f58')

    # HCOL package is an extension for Spiral.  Install the files in their own
    # prefix, in "namespaces/packages/hcol".  This allows 'spack activate' to
    # symlink hcol at the right location for spiral packages.
    def install(self, spec, prefix):
        install_tree('.', prefix.namespaces.packages.hcol)