
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
30 lines
998 B
Python
30 lines
998 B
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 Xclock(AutotoolsPackage):
|
|
"""xclock is the classic X Window System clock utility. It displays
|
|
the time in analog or digital form, continuously updated at a
|
|
frequency which may be specified by the user."""
|
|
|
|
homepage = "http://cgit.freedesktop.org/xorg/app/xclock"
|
|
url = "https://www.x.org/archive/individual/app/xclock-1.0.7.tar.gz"
|
|
|
|
version('1.0.7', sha256='e730bd575938d5628ef47003a9d4d41b882621798227f5d0c12f4a26365ed1b5')
|
|
|
|
depends_on('libxaw')
|
|
depends_on('libxmu')
|
|
depends_on('libx11')
|
|
depends_on('libxrender')
|
|
depends_on('libxft')
|
|
depends_on('libxkbfile')
|
|
depends_on('libxt')
|
|
|
|
depends_on('xproto@7.0.17:', type='build')
|
|
depends_on('pkgconfig', type='build')
|
|
depends_on('util-macros', type='build')
|