new file: c/CMake/CMake-3.11.1-GCCcore-6.4.0.eb

new file:   n/ncurses/ncurses-6.1.eb


Former-commit-id: 33226f31da86a2e026a170be4b19a61bfe3502e6
This commit is contained in:
Lukáš Krupčík 2018-07-25 07:36:01 +02:00
parent 04d42f411b
commit aa00f9c986
2 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'CMake'
version = '3.11.1'
homepage = 'http://www.cmake.org'
description = """
CMake, the cross-platform, open-source build system. CMake is a family of
tools designed to build, test and package software.
"""
toolchain = {'name': 'GCCcore', 'version': '6.4.0'}
source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['57bebc6ca4d1d42c6385249d148d9216087e0fda57a47dc5c858790a70217d0c']
builddependencies = [
('binutils', '2.28'),
]
dependencies = [
('ncurses', '6.1', '', True),
# OS dependency should be preferred if the os version is more recent then this version,
# it's nice to have an up to date openssl for security reasons
# ('OpenSSL', '1.1.0g'),
]
osdependencies = [
('openssl-devel', 'libssl-dev', 'libopenssl-devel'),
]
configopts = '-- -DCMAKE_USE_OPENSSL=1 -DCMAKE_PREFIX_PATH=$EBROOTNCURSES'
sanity_check_paths = {
'files': ["bin/%s" % x for x in ['ccmake', 'cmake', 'cpack', 'ctest']],
'dirs': [],
}
moduleclass = 'devel'

38
n/ncurses/ncurses-6.1.eb Normal file
View File

@ -0,0 +1,38 @@
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'ncurses'
version = '6.1'
homepage = 'http://www.gnu.org/software/ncurses/'
description = """The Ncurses (new curses) library is a free software emulation of curses in System V Release 4.0,
and more. It uses Terminfo format, supports pads and color and multiple highlights and forms characters and
function-key mapping, and has all the other SYSV-curses enhancements over BSD Curses."""
toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'optarch': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
buildopts = 'CFLAGS="-O3 -fPIC"'
configopts = [
# default build
'--with-shared --enable-overwrite',
# the UTF-8 enabled version (ncursesw)
'--with-shared --enable-overwrite --enable-ext-colors --enable-widec --includedir=%(installdir)s/include/ncursesw/'
]
libs = ["form", "menu", "ncurses", "panel"]
sanity_check_paths = {
'files': ['bin/%s' % x for x in ["captoinfo", "clear", "infocmp", "infotocap", "ncurses%(version_major)s-config",
"reset", "tabs", "tic", "toe", "tput", "tset"]] +
['lib/lib%s%s.a' % (x, y) for x in libs for y in ['', '_g', 'w', 'w_g']] +
['lib/lib%s%s.%s' % (x, y, SHLIB_EXT) for x in libs for y in ['', 'w']] +
['lib/libncurses++%s.a' % x for x in ['', 'w']],
'dirs': ['include', 'include/ncursesw'],
}
moduleclass = 'devel'