diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 10:15:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 21:15:06 -0500 |
commit | 0fabbff03e8307853cc50befe8303c25eb7cb2ea (patch) | |
tree | 5c7a8efe117723ffb92f3c2e0e9e9246aedc6ddf /var | |
parent | 3b76217e8a49e2d66bde6c84d29f523e2b2109e8 (diff) | |
download | spack-0fabbff03e8307853cc50befe8303c25eb7cb2ea.tar.gz spack-0fabbff03e8307853cc50befe8303c25eb7cb2ea.tar.bz2 spack-0fabbff03e8307853cc50befe8303c25eb7cb2ea.tar.xz spack-0fabbff03e8307853cc50befe8303c25eb7cb2ea.zip |
Add new package: usbutils (#18825)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/usbutils/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/usbutils/package.py b/var/spack/repos/builtin/packages/usbutils/package.py new file mode 100644 index 0000000000..11f104b2e8 --- /dev/null +++ b/var/spack/repos/builtin/packages/usbutils/package.py @@ -0,0 +1,24 @@ +# 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 Usbutils(AutotoolsPackage): + """This is a collection of USB tools for use on Linux and BSD systems + to query what type of USB devices are connected to the system.""" + + homepage = "http://www.linux-usb.org/" + url = "https://github.com/gregkh/usbutils/archive/v012.tar.gz" + + version('012', sha256='3f06028134aebd6bb36477019468d7bca2c0014f0f18b9441b7920b7cec7b210') + version('011', sha256='9cf6e8c3030efc6abbb3c12de4da49816e0d6c6429f43fa3afb874cf72c2c869') + version('010', sha256='e32f3debe6c1308bb9aa9a92c3d86f8565a6f6cf7711bccb07b0f83bf530717d') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('libusb') |