diff options
Diffstat (limited to 'bash/Pkgfile.old')
-rw-r--r-- | bash/Pkgfile.old | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/bash/Pkgfile.old b/bash/Pkgfile.old new file mode 100644 index 0000000..31464a3 --- /dev/null +++ b/bash/Pkgfile.old @@ -0,0 +1,31 @@ +# Description: An sh-compatible command language interpreter +# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: ncurses readline + +name=bash +version=4.1.9 +release=1 +source=(http://ftp.gnu.org/gnu/$name/$name-4.1.tar.gz \ + $name-4.1-001-009.patch.gz profile) + +build() { + cd $name-4.1 + + gunzip -c $SRC/$name-4.1-001-009.patch.gz | patch -p0 + + ./configure --prefix=/usr \ + --exec-prefix= \ + --mandir=/usr/man \ + --disable-nls \ + --with-curses \ + --with-installed-readline + make -j1 + + install -D -m 755 bash $PKG/bin/bash + install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1 + install -D -m 644 $SRC/profile $PKG/etc/profile + + ln -s bash $PKG/bin/sh + ln -s bash.1 $PKG/usr/man/man1/sh.1 +} |