diff --git a/Golden_Repo/g/gflags/gflags-2.2.2-GCCcore-11.3.0.eb b/Golden_Repo/g/gflags/gflags-2.2.2-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..a403ff66dbb845c98cd6d344e4a446df6608a005 --- /dev/null +++ b/Golden_Repo/g/gflags/gflags-2.2.2-GCCcore-11.3.0.eb @@ -0,0 +1,35 @@ +easyblock = 'CMakeMake' + +name = 'gflags' +version = '2.2.2' + +homepage = 'https://gflags.github.io/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': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/gflags/gflags/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf'] + +builddependencies = [ + ('binutils', '2.38'), + ('CMake', '3.23.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'