# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'cURL'
version = '7.61.1'

homepage = 'http://curl.haxx.se'
description = 'libcurl is a free and easy-to-use client-side URL transfer library'

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://curl.haxx.se/download/']

osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]

sanity_check_paths = {
    'files': ['bin/curl', 'lib/libcurl.a', 'lib/libcurl.%s' % SHLIB_EXT],
    'dirs': ['lib/pkgconfig'],
}

moduleclass = 'tools'