# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

easyblock = 'ConfigureMake'

name = 'QuadProg++'
version = '1.2.1'

homepage = 'http://sourceforge.net/projects/quadprog/'
description = """ A C++ library for Quadratic Programming which implements the 
 Goldfarb-Idnani active-set dual method. At present it is limited to the solution 
 of strictly convex quadratic programs. """

toolchain = {'name': 'goolf', 'version': '1.4.10'}

sources = ['%s-%s.tar.gz' % (name.lower().rstrip('++'), version)]
source_urls = ['http://downloads.sourceforge.net/project/quadprog/']

dependencies = [('Boost', '1.53.0')]

configopts = ' --with-boost=$EBROOTBOOST'

moduleclass = 'lib'
