Add bash package
This commit is contained in:
parent
3c8e055ed0
commit
380a2b23e6
20
var/spack/repos/builtin/packages/bash/package.py
Normal file
20
var/spack/repos/builtin/packages/bash/package.py
Normal file
@ -0,0 +1,20 @@
|
||||
from spack import *
|
||||
|
||||
class Bash(Package):
|
||||
"""The GNU Project's Bourne Again SHell."""
|
||||
|
||||
homepage = "https://www.gnu.org/software/bash/"
|
||||
url = "ftp://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz"
|
||||
|
||||
version('4.3', '81348932d5da294953e15d4814c74dd1')
|
||||
|
||||
depends_on('readline')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix=%s' % prefix,
|
||||
'--with-curses',
|
||||
'--with-installed-readline=%s' % spec['readline'].prefix)
|
||||
|
||||
make()
|
||||
make("tests")
|
||||
make("install")
|
@ -8,11 +8,10 @@ class Ncurses(Package):
|
||||
"""
|
||||
|
||||
homepage = "http://invisible-island.net/ncurses/ncurses.html"
|
||||
url = "http://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz"
|
||||
|
||||
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')
|
||||
version('6.0', 'ee13d052e1ead260d7c28071f46eefb1')
|
||||
version('5.9', '8cb9c412e5f2d96bc6f459aa8c6282a1')
|
||||
|
||||
patch('patch_gcc_5.txt', when='%gcc@5.0:')
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
class Readline(Package):
|
||||
"""The GNU Readline library provides a set of functions for use by
|
||||
applications that allow users to edit command li nes as they
|
||||
applications that allow users to edit command lines as they
|
||||
are typed in. Both Emacs and vi editing modes are
|
||||
available. The Readline library includes additional functions
|
||||
to maintain a list of previously-entered command lines, to
|
||||
recall and perhaps reedit those lines, and perform csh-like
|
||||
history expansion on previous commands. """
|
||||
history expansion on previous commands."""
|
||||
homepage = "http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
|
||||
url = "ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user