core/bash/Pkgfile

26 lines
711 B
Plaintext

# 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.4-rc2
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
profile)
build() {
cd $name-$version
./configure --prefix=/usr \
--exec-prefix= \
--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/share/man/man1/bash.1
install -D -m 644 $SRC/profile $PKG/etc/profile
}