Skip to content
Snippets Groups Projects
Commit 380a2b23 authored by Adam J. Stewart's avatar Adam J. Stewart
Browse files

Add bash package

parent 3c8e055e
No related branches found
No related tags found
No related merge requests found
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): ...@@ -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:')
......
...@@ -2,12 +2,12 @@ ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment