blob: 7c7073cadc4779d33f17b8b2fe935f55089a11fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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 Colordiff(Package):
"""Colorful diff utility."""
homepage = "https://www.colordiff.org"
url = "https://www.colordiff.org/colordiff-1.0.18.tar.gz"
version('1.0.18', sha256='29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0')
depends_on('perl')
def install(self, spec, prefix):
make("INSTALL_DIR=" + prefix.bin, "ETC_DIR=" + prefix.etc,
"MAN_DIR=" + prefix.man, 'install', parallel=False)
|