old_contents: # Copyright 2013-2021 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)
  
  import os
  
  from spack import *
  
  
  class Global(Package):
      """ The Gnu Global tagging system """
  
      homepage = "http://www.gnu.org/software/global"
      url = "http://tamacom.com/global/global-6.5.tar.gz"
  
      version('6.6.4', sha256='987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594')
      version('6.5', sha256='4afd12db1aa600277b39113cc2d61dc59bd6c6b4ee8033da8bb6dd0c39a4c6a9')
  
      depends_on('exuberant-ctags', type=('build', 'run'))
      depends_on('ncurses')
  
      def install(self, spec, prefix):
          config_args = ['--prefix={0}'.format(prefix)]
  
          config_args.append('--with-exuberant-ctags={0}'.format(
              os.path.join(spec['exuberant-ctags'].prefix.bin, 'ctags')))
  
          configure(*config_args)
  
          make()
          make("install")
  
new_contents: # Copyright 2013-2021 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)
  
  import os
  
  from spack import *
  
  
  class Global(Package):
      """ The Gnu Global tagging system """
  
      homepage = "http://www.gnu.org/software/global"
      url = "http://tamacom.com/global/global-6.5.tar.gz"
  
      maintainers = ['gaber']
  
      version('6.6.6', sha256='758078afff98d4c051c58785c7ada3ed1977fabb77f8897ff657b71cc62d4d5d')
      version('6.6.4', sha256='987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594')
      version('6.5', sha256='4afd12db1aa600277b39113cc2d61dc59bd6c6b4ee8033da8bb6dd0c39a4c6a9')
  
      depends_on('exuberant-ctags', type=('build', 'run'))
      depends_on('ncurses')
  
      def install(self, spec, prefix):
          config_args = ['--prefix={0}'.format(prefix)]
  
          config_args.append('--with-exuberant-ctags={0}'.format(
              os.path.join(spec['exuberant-ctags'].prefix.bin, 'ctags')))
  
          configure(*config_args)
  
          make()
          make("install")
  
subject: add v6.6.6 (#24642)