easyblock = 'ConfigureMake'

name = 'cURL'
version = '7.53.1'

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

toolchain = {'name': 'system', 'version': ''}

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'
