# Copyright 2013-2022 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 PerlInlineC(PerlPackage):
    """C Language Support for Inline"""

    homepage = "https://metacpan.org/pod/Inline::C"
    url      = "http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/Inline-C-0.78.tar.gz"

    version('0.78', sha256='9a7804d85c01a386073d2176582b0262b6374c5c0341049da3ef84c6f53efbc7')

    depends_on('perl-yaml-libyaml', type=('build', 'run'))
    depends_on('perl-parse-recdescent', type=('build', 'run'))
    depends_on('perl-inline', type=('build', 'run'))
    depends_on('perl-pegex', type=('build', 'run'))
    depends_on('perl-file-copy-recursive', type=('build', 'run'))
