]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/dist-i686-linux/build-curl.sh
New upstream version 1.23.0+dfsg1
[rustc.git] / src / ci / docker / dist-i686-linux / build-curl.sh
CommitLineData
abe05a73 1#!/usr/bin/env bash
32a655c1
SL
2# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
3# file at the top-level directory of this distribution and at
4# http://rust-lang.org/COPYRIGHT.
5#
6# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9# option. This file may not be copied, modified, or distributed
10# except according to those terms.
11
12set -ex
13source shared.sh
14
15VERSION=7.51.0
16
17curl http://cool.haxx.se/download/curl-$VERSION.tar.bz2 | tar xjf -
18
19mkdir curl-build
20cd curl-build
21hide_output ../curl-$VERSION/configure \
22 --prefix=/rustroot \
23 --with-ssl=/rustroot \
24 --disable-sspi \
25 --disable-gopher \
26 --disable-smtp \
27 --disable-smb \
28 --disable-imap \
29 --disable-pop3 \
30 --disable-tftp \
31 --disable-telnet \
32 --disable-manual \
33 --disable-dict \
34 --disable-rtsp \
35 --disable-ldaps \
36 --disable-ldap
37hide_output make -j10
38hide_output make install
39
40cd ..
41rm -rf curl-build
42rm -rf curl-$VERSION
43yum erase -y curl