summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-tk/package.py
blob: 40c5e0e8ea2367e738373ee293541a5ecb5fd11a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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')
    depends_on('libx11')
    depends_on('libxcb')
    depends_on('libxft')
    depends_on('jpeg')
    depends_on('libpng')
    depends_on('freetype')