mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-15 19:28:06 +01:00
34 lines
985 B
Plaintext
34 lines
985 B
Plaintext
easyblock = 'CMakeMake'
|
|
|
|
name = 'gflags'
|
|
version = '2.1.2'
|
|
|
|
homepage = 'https://github.com/gflags/gflags'
|
|
description = """
|
|
The gflags package contains a C++ library that implements commandline flags
|
|
processing. It includes built-in support for standard types such as string
|
|
and the ability to define flags in the source file in which they are used.
|
|
"""
|
|
|
|
toolchain = {'name': 'system', 'version': ''}
|
|
toolchainopts = {'pic': True}
|
|
|
|
sources = ['v%(version)s.tar.gz']
|
|
source_urls = ['https://github.com/gflags/gflags/archive/']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.8.1'),
|
|
]
|
|
|
|
configopts = '-DBUILD_SHARED_LIBS=on -DBUILD_STATIC_LIBS=on'
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/gflags_completions.sh'] +
|
|
['lib/%s' % x for x in ['libgflags.%s' % SHLIB_EXT,
|
|
'libgflags_nothreads.%s' % SHLIB_EXT, 'libgflags.a', 'libgflags_nothreads.a']] +
|
|
['include/gflags/gflags_completions.h'],
|
|
'dirs': [],
|
|
}
|
|
|
|
moduleclass = 'devel'
|