# @author: Luca Marsella (CSCS)
# @author: Guilherme Peretti-Pezzi (CSCS)
# @author: Petar Forai (IMP/IMBA)

name = 'Boost'
version = "1.60.0"

homepage = 'http://www.boost.org/'
description = """Boost provides free peer-reviewed portable C++ source libraries."""

toolchain = {'name': 'CrayGNU', 'version': '2016.03'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%%(namelower)s_%s.tar.bz2' % '_'.join(version.split('.'))]

pythonversion = '2.7.11'
versionsuffix = '-Python-%s' % pythonversion

dependencies = [
    ('bzip2', '1.0.6' ),
    ('Python', pythonversion),
]

# also build boost_mpi
boost_mpi = True

osdependencies = [('zlib-devel','zlib1g-dev')]

moduleclass = 'devel'
