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 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
10 source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
11 $name-4.1-001-002.patch.gz profile)
14 cd $name-${version%.*}
16 cat > config.cache <<EOF
17 bash_cv_sys_named_pipes=yes
18 bash_cv_job_control_missing=present
21 gunzip -c $SRC/$name-4.1-001-002.patch.gz | patch -p0
24 ./configure --build=$CHOST \
26 --cache-file=config.cache \
31 --without-bash-malloc \
34 make DESTDIR=$PKG install
36 rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
37 install -D -m 644 $SRC/profile $PKG/etc/profile
38 ln -sf bash $PKG/bin/sh
39 ln -sf bash.1 $PKG/usr/man/man1/sh.1