toolchain: changements aux scripts
[glg-lfs.git] / toolchain / scripts / Sed-4.2.2
blob55bae716a320042e770ebb3cd79e0443b5076751
1 #!/bin/bash
3 pkgname="sed-4.2.2"
4 archive="$pkgname".tar.bz2
5 tar_flags="-xjf"
6 make_flags="--jobs=4 --quiet"
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 "======> execution du script de configuration"
19 ./configure --quiet --prefix=/tools
21 echo "======> compilation de $pkgname"
22 make $make_flags
24 echo "======> installation de $pkgname"
25 make install
27 cd ../
29 echo "======> supression du rÃpertoire $pkgname"
30 rm -rf "$pkgname"
32 echo "======> compilation et installation de $pkgname reussi"
33 exit 0