more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git] / packages / base / bash / bash
1 # hdw - linux bash package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 3.1
6 # [S] 1-2 2-11
7 # [D] bash-3.1.tar.gz ftp://ftp.gnu.org/pub/gnu/bash/
8 # [D] bash-doc-3.1.tar.gz ftp://ftp.gnu.org/pub/gnu/bash/
9
10 confopt="$confopt --without-bash-malloc"
11
12 if [ "$stage" = "1" ] ; then
13         post_install()  {
14                 ln -svf bash $prefix/bin/sh
15                         }
16 fi
17
18 if [ "$stage" = "2" ] ; then
19         confopt=${confopt//--bindir* /--bindir=$root/bin }
20         post_install()  {
21                 ln -sf bash $root/bin/sh
22                         }
23 fi