
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
29 lines
1.1 KiB
Python
29 lines
1.1 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 Luit(AutotoolsPackage):
|
|
"""Luit is a filter that can be run between an arbitrary application and
|
|
a UTF-8 terminal emulator such as xterm. It will convert application
|
|
output from the locale's encoding into UTF-8, and convert terminal
|
|
input from UTF-8 into the locale's encoding."""
|
|
|
|
homepage = "http://cgit.freedesktop.org/xorg/app/luit"
|
|
url = "https://www.x.org/archive/individual/app/luit-1.1.1.tar.gz"
|
|
|
|
version('1.1.1', sha256='87b0be0bd01f3b857a53e6625bdd31cef18418c95394b7f4387f8ecef78e45da')
|
|
|
|
depends_on('libfontenc')
|
|
depends_on('libx11')
|
|
|
|
depends_on('pkgconfig', type='build')
|
|
depends_on('util-macros', type='build')
|
|
|
|
# see http://www.linuxquestions.org/questions/linux-from-scratch-13/can't-compile-luit-xorg-applications-4175476308/ # noqa
|
|
def configure_args(self):
|
|
return ['CFLAGS=-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600']
|