easyblock = 'SCons' name = 'Serf' version = '1.3.8' homepage = 'http://serf.apache.org/' description = """The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library""" toolchain = {'name': 'foss', 'version': '2015a'} source_urls = ['https://archive.apache.org/dist/%(namelower)s'] sources = [SOURCELOWER_TAR_BZ2] patches = [ ('%(name)s-%(version)s_remve_c99_comment.patch'), ('%(name)s-%(version)s_SCons_ld_lib.patch'), ] builddependencies = [('SCons', '2.3.6', '-Python-2.7.9')] dependencies = [ ('APR', '1.5.2'), ('APR-util', '1.5.4'), # ('OpenSSL', '1.0.1p'), # OS dependency should be preferred if the os version is more recent then this version, it's # nice to have an up to date openssl for security reasons ] osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')] buildopts = "APR=$EBROOTAPR/bin/apr-1-config APU=$EBROOTAPRMINUTIL/bin/apu-1-config" sanity_check_paths = { 'files': ['include/serf-1/serf.h'] + ['lib/libserf-1.%s' % x for x in ['a', 'so']], 'dirs': [], } moduleclass = 'tools'