mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-14 10:51:21 +01:00

modified: n/ncurses/ncurses-6.1.eb new file: n/ncurses/ncurses-6.1.eb.orig_20220606091930_28539
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
# 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 = SYSTEM
|
|
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/'
|
|
]
|
|
|
|
local_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 local_libs for y in ['', '_g', 'w', 'w_g']] +
|
|
['lib/lib%s%s.%s' % (x, y, SHLIB_EXT) for x in local_libs for y in ['', 'w']] +
|
|
['lib/libncurses++%s.a' % x for x in ['', 'w']],
|
|
'dirs': ['include', 'include/ncursesw'],
|
|
}
|
|
|
|
moduleclass = 'devel'
|