From 0ea6bab984abee943d93cdfa90273b7a7aabcf8f Mon Sep 17 00:00:00 2001 From: darmac Date: Sat, 22 Feb 2020 23:02:34 +0800 Subject: add new package : brltty (#15161) --- var/spack/repos/builtin/packages/brltty/package.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 var/spack/repos/builtin/packages/brltty/package.py diff --git a/var/spack/repos/builtin/packages/brltty/package.py b/var/spack/repos/builtin/packages/brltty/package.py new file mode 100644 index 0000000000..25757b259f --- /dev/null +++ b/var/spack/repos/builtin/packages/brltty/package.py @@ -0,0 +1,30 @@ +# 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 Brltty(AutotoolsPackage): + """BRLTTY is a background process (daemon) providing access to the + Linux/Unix console (when in text mode) for a blind person using + a refreshable braille display.""" + + homepage = "http://brltty.app/" + url = "https://github.com/brltty/brltty/archive/BRLTTY-6.0.tar.gz" + + version('6.0', sha256='acfea5274bdc9230b0ea1a87f8796e241615d4d2c1ba08d87601b9d116c7804c') + version('5.6', sha256='74f35043943525396b340b9f65f0d73c3cc4054a8f63d1c685f27ccf59f46c5d') + version('5.5', sha256='cd80a0d225f13779791dc3a72d7f137c06c48e5f2c9600e80a565d2378422207') + version('5.4', sha256='9ad5a540d29438a755f8b8f1f1534e0eba601c604f3d8223fa00b802959ec636') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('expat') + + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('autogen') -- cgit v1.2.3-70-g09d2