toolchain:scripts:enleve les options quiet
[glg-lfs.git] / toolchain / scripts / Tar-1.26
blob831cdb2f4ef464647a57fe0931004d5f5e8f291d
1 #!/bin/bash
3 pkgname=tar-1.26
4 archive="$pkgname".tar.bz2
5 tar_flags="-xjf"
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 "======> reparation d'une incompatibilite avec glibc 2.17"
19 sed -i -e '/gets is a/d' gnu/stdio.in.h
21 echo "======> execution du script de configuration"
22 ./configure --prefix=/tools
24 echo "======> compilation de $pkgname"
25 make $make_flags
27 echo "======> installation de $pkgname"
28 make install
30 cd ../
32 echo "======> supression du rÃpertoire $pkgname"
33 rm -rf "$pkgname"
35 echo "======> compilation et installation de $pkgname reussi"
36 exit 0