summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Diener <mdiener@illinois.edu>2018-03-06 06:14:29 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-03-06 13:14:29 +0100
commit8f350d00026e290038b0800b6624a3d024bf1510 (patch)
tree0f277e4eaeaebfb1e85f4ebddc65fb9da823d900
parentbcae9c3506c4fe4e3ebe6ea7725352c8d1e86368 (diff)
downloadspack-8f350d00026e290038b0800b6624a3d024bf1510.tar.gz
spack-8f350d00026e290038b0800b6624a3d024bf1510.tar.bz2
spack-8f350d00026e290038b0800b6624a3d024bf1510.tar.xz
spack-8f350d00026e290038b0800b6624a3d024bf1510.zip
Colordiff: new package (#7070)
-rw-r--r--var/spack/repos/builtin/packages/colordiff/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/colordiff/package.py b/var/spack/repos/builtin/packages/colordiff/package.py
new file mode 100644
index 0000000000..ba03f4f777
--- /dev/null
+++ b/var/spack/repos/builtin/packages/colordiff/package.py
@@ -0,0 +1,40 @@
+##############################################################################
+# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+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', '07658f09a44f30a3b5c1cea9c132baed')
+
+ depends_on('perl')
+
+ def install(self, spec, prefix):
+ make("INSTALL_DIR=" + prefix.bin, "ETC_DIR=" + prefix.etc,
+ "MAN_DIR=" + prefix.man, 'install', parallel=False)