summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-23 16:17:46 +0800
committerGitHub <noreply@github.com>2020-10-23 10:17:46 +0200
commit4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6 (patch)
treee7e9a97069cdb761c05c3efbdc96b213d2df1e76
parentfe04f0689641cb414d6680c503067ebb4fa8b3d8 (diff)
downloadspack-4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6.tar.gz
spack-4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6.tar.bz2
spack-4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6.tar.xz
spack-4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6.zip
Add new package: acpica-tools (#18739)
* Add new package: acpica-tools * refine build dependencies
-rw-r--r--var/spack/repos/builtin/packages/acpica-tools/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/acpica-tools/package.py b/var/spack/repos/builtin/packages/acpica-tools/package.py
new file mode 100644
index 0000000000..41359bb959
--- /dev/null
+++ b/var/spack/repos/builtin/packages/acpica-tools/package.py
@@ -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')