@@ -0,0 +1,1214 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other%0A# Spack Project Developers. See the top-level COPYRIGHT file for details.%0A#%0A# SPDX-License-Identifier: (Apache-2.0 OR MIT)%0A%0Afrom spack import *%0A%0A%0Aclass Sysfsutils(AutotoolsPackage):%0A    %22%22%22This package's purpose is to provide a set of utilities for interfacing%0A    with sysfs, a virtual filesystem in Linux kernel versions 2.5+ that%0A    provides a tree of system devices. While a filesystem is a very useful%0A    interface, we've decided to provide a stable programming interface%0A    that will hopefully make it easier for applications to query system devices%0A    and their attributes.%22%22%22%0A%0A    homepage = %22https://github.com/linux-ras/sysfsutils/%22%0A    url      = %22https://github.com/linux-ras/sysfsutils/archive/sysfsutils_0_5.tar.gz%22%0A%0A    version('0_5',   sha256='6878c8a4281e7de52e57b40fe543b1b4e01d6fbce4ffd45a36e5fc25e376746f')%0A    version('0_4_0', sha256='9c78edb118c6bd962e04558ddb2df46d456273284fe3f23bb930dc287225aea5')%0A    version('0_3_0', sha256='f10250aa09513d245cb4ed61ac0dbfd7dfb2e7810bcd8804a07b3fe18f08a74a')%0A%0A    @when('target=aarch64:')%0A    def configure_args(self):%0A        args = %5B'--build=arm-linux'%5D%0A        return args%0A

Add new package: sysfsutils (#18819)