summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libshm/package.py
blob: 2c23d3f364eaa0f04dfc7a7d87936ea37de839fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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.package import *


class Libshm(Package):
    """Libshm is a header library
    making an easy C++11 access to a shared memory."""

    homepage = "https://github.com/afeldman/libshm"
    git = "https://github.com/afeldman/libshm.git"

    license("MIT")

    version("master")

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