57ce9adcf093a898dcb7e3913628548cd4785f59
[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.0
6 # [S] 1-7 2-11
7 # [D] bash-3.0.tar.gz ftp://ftp.gnu.org/pub/gnu/bash/
8 # [D] bash-doc-3.0.tar.gz ftp://ftp.gnu.org/pub/gnu/bash/
9
10 confopt="$confopt --without-bash-malloc"
11
12 if [ "$hdw_status" = "1" ] ; then
13         post_install()  {
14                 ln -svf bash $prefix/bin/sh
15                         }
16 fi
17
18 if [ "$hdw_status" = "2" ] ; then
19         confopt=${confopt//--bindir* /--bindir=$root/bin }
20         post_install()  {
21                 ln -sf bash $root/bin/sh
22                         }
23 fi