summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
blob: 6e6b919bb3ab726669695dc2f7b9074cd95b693f (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-2020 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 AbiComplianceChecker(MakefilePackage):
    """A tool for checking backward compatibility of a C/C++ library API."""

    homepage = "https://github.com/lvc/abi-compliance-checker"
    url      = "https://github.com/lvc/abi-compliance-checker/archive/2.3.tar.gz"

    version('2.3', sha256='b1e32a484211ec05d7f265ab4d2c1c52dcdb610708cb3f74d8aaeb7fe9685d64')
    version('2.2', sha256='9fb7b17e33d49e301d02a6374fbd2596feb53ecc77194879a4e1c2d1e24b4ddb')
    version('2.1', sha256='0e19ea16b6c6aa6c7b222063127427bef3b835adbbd9e6606a972a912599d014')

    depends_on('abi-dumper@1.1:')
    depends_on('perl@5:')
    depends_on('binutils')
    depends_on('universal-ctags')

    def install(self, spec, prefix):
        make('prefix={0}'.format(prefix), 'install')