perl-tk: creating package (#21586)

This commit is contained in:
Olivier Cessenat 2021-03-18 17:20:18 +01:00 committed by GitHub
parent a405811bfe
commit 628f9eadb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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 PerlTk(PerlPackage):
"""Interface to Tk Graphics Library"""
homepage = "https://metacpan.org/pod/distribution/Tk/Tk.pod"
url = "https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.035.tar.gz"
version('804.035', sha256='4d2b80291ba6de34d8ec886a085a6dbd2b790b926035a087e99025614c5ffdd4')
version('804.033', sha256='84756e9b07a2555c8eecf88e63d5cbbba9b1aa97b1e71a3d4aa524a7995a88ad')
depends_on('perl-extutils-makemaker', type='build')