xforms: new package (#21535)

This commit is contained in:
ketsubouchi 2021-02-09 05:27:36 +09:00 committed by GitHub
parent 843e1993ae
commit 0e3b12776c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# 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)
from spack import *
class Xforms(AutotoolsPackage):
"""This is the Free Software distribution of the XForms Library, a
graphical user interface toolkit for X Window Systems."""
homepage = "http://www.nongnu.org/xforms/"
url = "http://download.savannah.gnu.org/releases/xforms/xforms-1.0.91.tar.gz"
version('1.2.4', sha256='78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696')
version('1.2.3', sha256='7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61')
version('1.0.91', sha256='88684237c77489bcb1fbc9a794621a2919aa800e1c0a6d83d679b97980e3441d')
depends_on('libx11', type='link')
depends_on('libxpm', type='link')
depends_on('jpeg', type='link')
def configure_args(self):
args = ['--enable-static']
return args