summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 08:56:23 +0800
committerGitHub <noreply@github.com>2020-09-23 19:56:23 -0500
commit63340a1facdb9eb3cbb8fed0257310f45f3944b0 (patch)
treeab1da774c724cef1adff4fc3d2a6cd7cce2e26c0 /var
parent653344a9f1d2e545f42b8a1163eb21bc9689900e (diff)
downloadspack-63340a1facdb9eb3cbb8fed0257310f45f3944b0.tar.gz
spack-63340a1facdb9eb3cbb8fed0257310f45f3944b0.tar.bz2
spack-63340a1facdb9eb3cbb8fed0257310f45f3944b0.tar.xz
spack-63340a1facdb9eb3cbb8fed0257310f45f3944b0.zip
Add new package: libevdev (#18886)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libevdev/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libevdev/package.py b/var/spack/repos/builtin/packages/libevdev/package.py
new file mode 100644
index 0000000000..6992389c2f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libevdev/package.py
@@ -0,0 +1,26 @@
+# 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 Libevdev(AutotoolsPackage):
+ """libevdev is a wrapper library for evdev devices. it moves the common
+ tasks when dealing with evdev devices into a library and provides a
+ library interface to the callers, thus avoiding erroneous ioctls, etc."""
+
+ homepage = "http://cgit.freedesktop.org/libevdev"
+ url = "https://github.com/whot/libevdev/archive/libevdev-1.5.4.tar.gz"
+
+ version('1.5.4', sha256='11ef3510970c049b0e30985be3149d27b4b36b7cbe14ca678746aac1ca86744d')
+ version('1.5.3', sha256='14575ecac843af1f05dd90099a3163086da5b7a888da9d14263036b7b93894eb')
+ version('1.5.2', sha256='75780467d76ee93ecaf62cfd0fa6020629231289230548dae04638936af1e1c8')
+ version('1.5.1', sha256='a9a789abf2f047d2449f09458bb754a9dd53f550ea537654d59492acad787ce6')
+ version('1.5.0', sha256='ae1b64f26f4b6b55d78bf6e8de87eeb8c58e964b1d457ffa8060e4a889dcb31f')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')