@@ -0,0 +1,2700 @@
+##############################################################################%0A# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.%0A# Produced at the Lawrence Livermore National Laboratory.%0A#%0A# This file is part of Spack.%0A# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.%0A# LLNL-CODE-647188%0A#%0A# For details, see https://github.com/llnl/spack%0A# Please also see the NOTICE and LICENSE files for our notice and the LGPL.%0A#%0A# This program is free software; you can redistribute it and/or modify%0A# it under the terms of the GNU Lesser General Public License (as%0A# published by the Free Software Foundation) version 2.1, February 1999.%0A#%0A# This program is distributed in the hope that it will be useful, but%0A# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and%0A# conditions of the GNU Lesser General Public License for more details.%0A#%0A# You should have received a copy of the GNU Lesser General Public%0A# License along with this program; if not, write to the Free Software%0A# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA%0A##############################################################################%0Afrom spack import *%0A%0A%0Aclass Multitail(MakefilePackage):%0A    %22%22%22MultiTail allows you to monitor logfiles and command output%0A       in multiple windows in a terminal, colorize, filter and merge.%22%22%22%0A%0A    homepage = %22https://www.vanheusden.com/multitail/index.php%22%0A    url      = %22https://www.vanheusden.com/multitail/multitail-6.4.2.tgz%22%0A%0A    version('6.4.2', 'a0959f7b2385061080712afd8ae6e33d')%0A%0A    depends_on('ncurses')%0A%0A    # It's counterintuitive, but use DESTDIR for the install because%0A    # the Makefile doesn't consistently use PREFIX with the things%0A    # it's installing...%0A    @property%0A    def install_targets(self):%0A        targets = %5B%5D%0A        targets.append('PREFIX=')%0A        targets.append('DESTDIR=%7B0%7D'.format(self.prefix))%0A        targets.append('install')%0A        return targets%0A%0A    def edit(self, spec, prefix):%0A        makefile = FileFilter('Makefile')%0A%0A        nc_include_flags = spec%5B'ncurses'%5D.headers.include_flags%0A        nc_ld_flags = spec%5B'ncurses'%5D.libs.ld_flags%0A        makefile.filter('CFLAGS%5C+=', 'CFLAGS+=%7B0%7D '.format(nc_include_flags))%0A        makefile.filter('LDFLAGS%5C+=', 'LDFLAGS+=%7B0%7D '.format(nc_ld_flags))%0A%0A        # Copy the conf file directly into place (don't worry about%0A        # overwriting an existing file...)%0A        kwargs = %7B'ignore_absent': False, 'backup': False, 'string': True%7D%0A        makefile.filter('cp multitail.conf $(CONFIG_FILE).new',%0A                        'cp multitail.conf $(CONFIG_FILE)', **kwargs)%0A

Add package for multitail@6.4.2 (#5567)