# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
# Copyright:: Copyright 2013 Juelich Supercomputing Centre, Germany
# Authors::   Bernd Mohr <b.mohr@fz-juelich.de>
# License::   New BSD
#
# This work is based from experiences from the UNITE project
# http://apps.fz-juelich.de/unite/
##
easyblock = 'ConfigureMake'

name = 'wxPropertyGrid'
version = '1.4.15'

homepage = 'http://wxpropgrid.sourceforge.net/'
description = """wxPropertyGrid is a property sheet control for wxWidgets. In other words, it is
 a specialized two-column grid for editing properties such as strings, numbers, flagsets, string arrays, and colours."""

toolchain = {'name': 'GCC', 'version': '4.9.2'}

osdependencies = [('wxGTK-devel', 'libwxgtk2.8-dev', 'wxWidgets-ansi-devel')]

# http://prdownloads.sourceforge.net/wxpropgrid/wxpropgrid-1.4.15-src.tar.gz?download
sources = ['wxpropgrid' + '-%(version)s-src.tar.gz']
source_urls = ['http://prdownloads.sourceforge.net/wxpropgrid/']

sanity_check_paths = {
    'files': ['include/wx/propgrid/propgrid.h',
              ('lib/libwxcode_gtk2u_propgrid-2.8.so', 'lib64/libwxcode_gtk2u_propgrid-2.8.so')],
    'dirs': []
}

parallel = 1

moduleclass = 'devel'
