summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bdftopcf/package.py
blob: 52854302aab344b24b8dabfe3a1852773ce289f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2013-2023 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.package import *


class Bdftopcf(AutotoolsPackage, XorgPackage):
    """bdftopcf is a font compiler for the X server and font server.  Fonts
    in Portable Compiled Format can be read by any architecture, although
    the file is structured to allow one particular architecture to read
    them directly without reformatting.  This allows fast reading on the
    appropriate machine, but the files are still portable (but read more
    slowly) on other machines."""

    homepage = "https://cgit.freedesktop.org/xorg/app/bdftopcf"
    xorg_mirror_path = "app/bdftopcf-1.0.5.tar.gz"

    license("MIT")

    version("1.1", sha256="699d1a62012035b1461c7f8e3f05a51c8bd6f28f348983249fb89bbff7309b47")
    version("1.0.5", sha256="78a5ec945de1d33e6812167b1383554fda36e38576849e74a9039dc7364ff2c3")

    depends_on("libxfont")

    depends_on("pkgconfig", type="build")
    depends_on("xproto")
    depends_on("fontsproto")
    depends_on("util-macros", type="build")