Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
0030cce0 | 4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
6dca1d21 JB |
5 | # Depends on: ncurses |
6 | ||
7 | name=bash | |
907169a1 | 8 | version=4.1 |
582e5de1 | 9 | release=1 |
907169a1 | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ |
6dca1d21 JB |
11 | profile) |
12 | ||
13 | build() { | |
907169a1 | 14 | cd $name-$version |
6dca1d21 | 15 | |
582e5de1 | 16 | cat > config.cache <<EOF |
6dca1d21 JB |
17 | bash_cv_sys_named_pipes=yes |
18 | bash_cv_job_control_missing=present | |
19 | EOF | |
20 | ||
21 | touch configure | |
22 | ./configure --build=$CHOST \ | |
23 | --host=$CTARGET \ | |
24 | --cache-file=config.cache \ | |
25 | --prefix=/usr \ | |
26 | --exec-prefix= \ | |
27 | --mandir=/usr/man \ | |
28 | --disable-nls \ | |
29 | --without-bash-malloc \ | |
30 | --with-curses | |
31 | make | |
32 | make DESTDIR=$PKG install | |
33 | ||
34 | rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1 | |
35 | install -D -m 644 $SRC/profile $PKG/etc/profile | |
36 | ln -sf bash $PKG/bin/sh | |
37 | ln -sf bash.1 $PKG/usr/man/man1/sh.1 | |
38 | } |