Merge pull request #755 from adamjstewart/features/bash

Add bash package
This commit is contained in:
Todd Gamblin
2016-04-06 16:02:10 -07:00
3 changed files with 25 additions and 6 deletions

View 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")

View File

@@ -8,11 +8,10 @@ class Ncurses(Package):
""" """
homepage = "http://invisible-island.net/ncurses/ncurses.html" 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', version('6.0', 'ee13d052e1ead260d7c28071f46eefb1')
url='http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz') version('5.9', '8cb9c412e5f2d96bc6f459aa8c6282a1')
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:') patch('patch_gcc_5.txt', when='%gcc@5.0:')

View File

@@ -2,12 +2,12 @@
class Readline(Package): class Readline(Package):
"""The GNU Readline library provides a set of functions for use by """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 are typed in. Both Emacs and vi editing modes are
available. The Readline library includes additional functions available. The Readline library includes additional functions
to maintain a list of previously-entered command lines, to to maintain a list of previously-entered command lines, to
recall and perhaps reedit those lines, and perform csh-like 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" homepage = "http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
url = "ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz" url = "ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz"