Add new package: acpica-tools (#18739)

* Add new package: acpica-tools

* refine build dependencies
This commit is contained in:
darmac 2020-10-23 16:17:46 +08:00 committed by GitHub
parent fe04f06896
commit 4d4f7393a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
# 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 AcpicaTools(MakefilePackage):
"""Debian packaging for the ACPICA user space tools"""
homepage = "https://github.com/ahs3/acpica-tools"
url = "https://github.com/ahs3/acpica-tools/archive/upstream/20200528.tar.gz"
version('20200528', sha256='07cd3e370b695ab787d25a7165e37eb7b150dca7908f047a6a6486d216cf05a8')
version('20200430', sha256='e3118583bf6e4bb4745d642a863cce1b4fcfdf67558e4ae53df367b7e26b89ac')
depends_on('flex', type='build')
depends_on('bison', type='build')
def install(self, spec, prefix):
make('PREFIX={0}'.format(prefix), 'install')