toolchain:scripts:enleve les options quiet
[glg-lfs.git] / toolchain / scripts / Bash-4.2
blob4241d30d68e509badb0d0c6418b16c51d9918817
1 #!/bin/bash
3 pkgname=bash-4.2
4 archive="$pkgname".tar.gz
5 tar_flags="-xzf"
6 make_flags="--jobs=4 "
8 set -u
9 set -e
11 cd $LFS/sources
13 echo "======> extraction de l'archive $archive"
14 tar "$tar_flags" "$archive"
16 cd $pkgname
18 echo "======> application d'une patch"
19 patch -Np1 -i ../bash-4.2-fixes-11.patch
21 echo "======> exe©cution du script de configuration"
22 ./configure --quiet --prefix=/tools --without-bash-malloc
24 echo "======> compilation de $pkgname"
25 make $make_flags
27 echo "======> installation de $pkgname"
28 make install
30 echo "======> creation d'un lien symbolique bash -> sh"
31 ln -s bash /tools/bin/sh
33 cd ../
35 echo "======> supression du rÃpertoire $pkgname"
36 rm -rf "$pkgname"
38 echo "======> compilation et installation de $pkgname reussi"
39 exit 0