spack/var/spack/repos/builtin/packages/gawk/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00

37 lines
1.3 KiB
Python

# Copyright 2013-2019 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 Gawk(AutotoolsPackage):
"""If you are like many computer users, you would frequently like to make
changes in various text files wherever certain patterns appear, or
extract data from parts of certain lines while discarding the
rest. To write a program to do this in a language such as C or
Pascal is a time-consuming inconvenience that may take many lines
of code. The job is easy with awk, especially the GNU
implementation: gawk.
The awk utility interprets a special-purpose programming language
that makes it possible to handle simple data-reformatting jobs
with just a few lines of code.
"""
homepage = "https://www.gnu.org/software/gawk/"
url = "https://ftpmirror.gnu.org/gawk/gawk-4.1.4.tar.xz"
version('4.1.4', sha256='53e184e2d0f90def9207860531802456322be091c7b48f23fdc79cda65adc266')
depends_on('gettext')
depends_on('libsigsegv')
depends_on('readline')
depends_on('mpfr')
depends_on('gmp')
provides('awk')
build_directory = 'spack-build'