##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2013 Uni.Lu/LCSB
# Authors::   Nils Christian <nils.christian@uni.lu>
# License::   MIT/GPL
# $Id$
#
##
easyblock = 'PerlModule'

name = 'YAML-Syck'
version = '1.27'

homepage = 'http://search.cpan.org/perldoc?YAML%3A%3ASyck'
description = """Fast, lightweight YAML loader and dumper.
 This module provides a Perl interface to the libsyck data serialization library."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = ['http://www.cpan.org/modules/by-module/YAML']
sources = [SOURCE_TAR_GZ]

perl = 'Perl'
perlver = '5.16.3'
perlverextra = ''
versionsuffix = '-%s-%s%s' % (perl, perlver, perlverextra)

dependencies = [
    (perl, perlver, perlverextra),
]

options = {'modulename': 'YAML::Syck'}

perlmajver = perlver.split('.')[0]
sanity_check_paths = {
    'files': [], 'dirs': [
        'lib/perl%s/site_perl/%s/x86_64-linux-thread-multi/YAML' %
        (perlmajver, perlver)], }

moduleclass = 'data'
