Merge branch 'mplegendre-multi_pkgsrc_roots' into develop
- This moves var/spack/packages to var/spack/repos/builtin/packages. - Packages that did not exist in the source branch, or were changed in develop, were moved into var/spack/repos/builtin/packages as part of the integration. Conflicts: lib/spack/spack/test/unit_install.py var/spack/repos/builtin/packages/clang/package.py
This commit is contained in:
30
var/spack/repos/builtin/packages/ncurses/package.py
Normal file
30
var/spack/repos/builtin/packages/ncurses/package.py
Normal file
@@ -0,0 +1,30 @@
|
||||
from spack import *
|
||||
|
||||
class Ncurses(Package):
|
||||
"""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.
|
||||
"""
|
||||
|
||||
homepage = "http://invisible-island.net/ncurses/ncurses.html"
|
||||
|
||||
version('5.9', '8cb9c412e5f2d96bc6f459aa8c6282a1',
|
||||
url='http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz')
|
||||
version('6.0', 'ee13d052e1ead260d7c28071f46eefb1',
|
||||
url='http://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz')
|
||||
|
||||
patch('patch_gcc_5.txt', when='%gcc@5.0:')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
opts = [
|
||||
"--prefix=%s" % prefix,
|
||||
"--with-shared",
|
||||
"--with-cxx-shared",
|
||||
"--enable-widec",
|
||||
"--enable-overwrite",
|
||||
"--disable-lib-suffixes",
|
||||
"--without-ada"]
|
||||
configure(*opts)
|
||||
make()
|
||||
make("install")
|
12
var/spack/repos/builtin/packages/ncurses/patch_gcc_5.txt
Normal file
12
var/spack/repos/builtin/packages/ncurses/patch_gcc_5.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur ncurses-6.0/ncurses/Makefile.in ncurses-6.0-patched/ncurses/Makefile.in
|
||||
--- ncurses-6.0/ncurses/Makefile.in 2015-08-06 01:15:41.000000000 +0200
|
||||
+++ ncurses-6.0-patched/ncurses/Makefile.in 2015-12-15 14:58:52.710199407 +0100
|
||||
@@ -219,7 +219,7 @@
|
||||
$(SHELL) -e $(tinfo)/MKfallback.sh $(TERMINFO) $(TERMINFO_SRC) $(TIC_PATH) $(FALLBACK_LIST) >$@
|
||||
|
||||
./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
|
||||
- $(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
|
||||
+ $(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS) -P" "$(AWK)" generated <../include/curses.h >$@
|
||||
|
||||
init_keytry.h: make_keys$(BUILD_EXEEXT) keys.list
|
||||
./make_keys$(BUILD_EXEEXT) keys.list > $@
|
Reference in New Issue
Block a user