From 0fabbff03e8307853cc50befe8303c25eb7cb2ea Mon Sep 17 00:00:00 2001 From: darmac Date: Thu, 24 Sep 2020 10:15:06 +0800 Subject: [PATCH] Add new package: usbutils (#18825) --- .../builtin/packages/usbutils/package.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/usbutils/package.py 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 00000000000..11f104b2e8c --- /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')