summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/capstone/package.py
blob: 9574fc8e5d0ea81f21ad17c3ddfb2d0a8a23951f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2021 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 Capstone(CMakePackage):
    """Capstone is a lightweight multi-platform,
       multi-architecture disassembly framework."""

    homepage = "http://www.capstone-engine.org/"
    url      = "https://github.com/aquynh/capstone/archive/4.0.1.tar.gz"
    git      = "https://github.com/aquynh/capstone.git"

    version('next', branch='next')
    version('master', branch='master')
    version('4.0.2', sha256='7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a')
    version('4.0.1', sha256='79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7')