toolchain:scripts:enleve les options quiet
[glg-lfs.git] / toolchain / scripts / curl-7.31.0
blobd20da222846a3eba1883bddb09083a6ac65e529b
1 #!/bin/bash
3 pkgname="curl-7.31.0"
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 "======> exécution du script de configuration"
20 ./configure --prefix=/tools \
21 --with-sysroot=$LFS
23 echo "======> compilation de $pkgname"
24 make $make_flags
26 echo "======> installation de $pkgname"
27 make install
29 cd $LFS/sources
31 echo "======> supression du rÃpertoire $pkgname"
32 rm -rf "$pkgname"
34 echo "======> compilation et installation de $pkgname reussi"
35 exit 0