@@ -0,0 +1,1806 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other%0A# Spack Project Developers. See the top-level COPYRIGHT file for details.%0A#%0A# SPDX-License-Identifier: (Apache-2.0 OR MIT)%0A%0Afrom spack import *%0A%0A%0Aclass Xfsdump(MakefilePackage):%0A    %22%22%22XFS Dump Tools.%22%22%22%0A%0A    homepage = %22http://oss.sgi.com/projects/xfs/%22%0A    url      = %22https://github.com/pcacjr/xfsdump/archive/v3.1.6.tar.gz%22%0A%0A    version('3.1.6', sha256='bbf659758107cad9b41cf3001df121e6428485b341109a1f1a952fd477a7010b')%0A    version('3.1.5', sha256='ba5bb91413ccb5a0eaffaa84f242baa08520a09f7b990b28bbd0d33a4390f7b6')%0A    version('3.1.4', sha256='a75d5c7dabd3dd4184008efcfd30d0c96b6ab318edaad9659ce180dfb9652b01')%0A%0A    depends_on('gettext')%0A    depends_on('autoconf', type='build')%0A    depends_on('automake', type='build')%0A    depends_on('libtool',  type='build')%0A    depends_on('m4',       type='build')%0A    depends_on('util-linux')%0A    depends_on('attr')%0A    depends_on('xfsprogs@:4.20.0')%0A%0A    def setup_build_environment(self, env):%0A        env.append_flags('LDFLAGS', '-lintl')%0A%0A    def build(self, spec, prefix):%0A        make('prefix=%7B0%7D'.format(self.prefix),%0A             'MSGFMT=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.msgfmt),%0A             'MSGMERGE=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.msgmerge),%0A             'XGETTEXT=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.xgettext))%0A%0A    def install(self, spec, prefix):%0A        make('prefix=%7B0%7D'.format(self.prefix),%0A             'MSGFMT=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.msgfmt),%0A             'MSGMERGE=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.msgmerge),%0A             'XGETTEXT=%7B0%7D'.format(self.spec%5B'gettext'%5D.prefix.bin.xgettext),%0A             'install')%0A%0A    def setup_run_environment(self, env):%0A        env.prepend_path('PATH', self.prefix.sbin)%0A

Add new package: xfsdump (#19914)