blob: 326c9bd0db2628fcde10542f8aea7e1da18d3fcd (
plain)
1 # Description: An sh-compatible command language interpreter
2 # URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: readline
5
6 name=bash
7 version=4.4.18
8 release=1
9 source=(http://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
10 $name-$version.patch.gz profile)
11
12 build() {
13 cd $name-${version:0:3}
14
15 gunzip -c $SRC/$name-$version.patch.gz | patch -p0
16
17 ./configure --prefix=/usr \
18 --exec-prefix= \
19 --disable-nls \
20 --with-curses \
21 --with-installed-readline
22 make -j1
23
24 install -D -m 755 bash $PKG/bin/bash
25 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
26 install -D -m 644 $SRC/profile $PKG/etc/profile
27 }
|