From b2b7bcd86aa4cf55a419fdaa9edd8742f1eae345 Mon Sep 17 00:00:00 2001 From: darmac Date: Mon, 7 Sep 2020 23:12:47 +0800 Subject: [PATCH] Add new package: kbd (#18436) * Add new package: kbd * fix description error --- .../repos/builtin/packages/kbd/package.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/kbd/package.py diff --git a/var/spack/repos/builtin/packages/kbd/package.py b/var/spack/repos/builtin/packages/kbd/package.py new file mode 100644 index 0000000000..c1a1667d9a --- /dev/null +++ b/var/spack/repos/builtin/packages/kbd/package.py @@ -0,0 +1,25 @@ +# 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 Kbd(AutotoolsPackage): + """The kbd project contains tools for managing Linux console + (Linux console, virtual terminals, keyboard, etc.) - mainly, + what they do is loading console fonts and keyboard maps.""" + + homepage = "http://kbd-project.org/" + url = "https://github.com/legionus/kbd/archive/v2.3.0.tar.gz" + + version('2.3.0', sha256='28f05450cfde08259341b9641d222027844c075f77a2bac6ce143b3f33a6eb4e') + version('2.2.90', sha256='a310a915f474c85ee28cd860677a34a529aca940daa44634a428dd6df58c196e') + version('2.2.0', sha256='5dec023c7a05b4d11d8ae795f59fab2b0bacfcc5c20a3d534dc7566cfe47ccf7') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('libpam')