@@ -0,0 +1,1161 @@
+# 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 Figlet(MakefilePackage):%0A    %22%22%22FIGlet is a program that creates large characters out of ordinary%0A    screen characters.%22%22%22%0A%0A    homepage = %22http://www.figlet.org/%22%0A    url      = %22https://github.com/cmatsuoka/figlet/archive/2.2.5.tar.gz%22%0A%0A    version('2.2.5', sha256='4d366c4a618ecdd6fdb81cde90edc54dbff9764efb635b3be47a929473f13930')%0A    version('2.2.4', sha256='970a18a2a32cca736ff11a5b77e26a54f31a0e08606b85d21d3d5c666937e03d')%0A    version('2.2.3', sha256='168fa3c7a5888d6f796708780d3006f0e1871d83f32c4a10a84596b90ac35999')%0A%0A    def install(self, spec, prefix):%0A        mkdirp(prefix.bin)%0A        bins = %5B'figlet', 'chkfont', 'figlist', 'showfigfonts'%5D%0A        for f in bins:%0A            install(f, prefix.bin)%0A%0A        mkdirp(prefix.man6)%0A        manuals = %5B'figlet.6', 'chkfont.6', 'figlist.6', 'showfigfonts.6'%5D%0A        for f in manuals:%0A            install(f, prefix.man6)%0A%0A        install_tree('./fonts', prefix.share.figlet)%0A

Add new package: figlet (#16355)