
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
24 lines
807 B
Python
24 lines
807 B
Python
# Copyright 2013-2019 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 Mkfontscale(AutotoolsPackage):
|
|
"""mkfontscale creates the fonts.scale and fonts.dir index files used by the
|
|
legacy X11 font system."""
|
|
|
|
homepage = "http://cgit.freedesktop.org/xorg/app/mkfontscale"
|
|
url = "https://www.x.org/archive/individual/app/mkfontscale-1.1.2.tar.gz"
|
|
|
|
version('1.1.2', sha256='8bba59e60fbc4cb082092cf6b67e810b47b4fe64fbc77dbea1d7e7d55312b2e4')
|
|
|
|
depends_on('libfontenc')
|
|
depends_on('freetype')
|
|
|
|
depends_on('xproto@7.0.25:', type='build')
|
|
depends_on('pkgconfig', type='build')
|
|
depends_on('util-macros', type='build')
|