blob: bf1817238f1a2db0cc66e3e117b0a7e179277cb6 (
plain) (
tree)
|
|
# Copyright 2013-2018 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 FontAdobe100dpi(Package):
"""X.org adobe-100dpi font."""
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-100dpi"
url = "https://www.x.org/archive/individual/font/font-adobe-100dpi-1.0.3.tar.gz"
version('1.0.3', 'ba61e7953f4f5cec5a8e69c262bbc7f9')
depends_on('font-util')
depends_on('fontconfig', type='build')
depends_on('mkfontdir', type='build')
depends_on('bdftopcf', type='build')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix))
make()
make('install')
# `make install` copies the files to the font-util installation.
# Create a fake directory to convince Spack that we actually
# installed something.
mkdir(prefix.lib)
|