7 URL
=http
://curl.haxx.se
/download
/$DIR.
tar.bz2
17 /mingw
/bin
/libcurl-4.dll \
18 /mingw
/bin
/curl-config \
29 die
"Could not download cURL"
34 git config core.autocrlf false
&&
36 git commit
-m "Import of $FILE"
38 } || die
"Could not check out cURL"
40 test $
(cd $DIR && git rev-list HEAD |
wc -l) -gt 1 ||
41 (cd $DIR && git am ..
/patches
/*) ||
42 die
"Could not apply patches"
45 CFG
='-ssl-ipv6-zlib-sspi-spnego-ldaps' \
47 OPENSSL_LIBPATH
=/mingw
/lib \
48 OPENSSL_LIBS
='-lcrypto.dll -lssl.dll' \
50 index
=$
(/share
/msysGit
/pre-install.sh
) &&
52 /bin
/install -m 0755 src
/curl.exe
/mingw
/bin
/curl.exe
&&
53 /bin
/install -m 0755 lib
/libcurl.dll
/mingw
/bin
/libcurl.dll
&&
54 /bin
/install -m 0755 lib
/libcurl.a
/mingw
/lib
/libcurl.a
&&
55 /bin
/install -m 0755 lib
/libcurldll.a
/mingw
/lib
/libcurl.dll.a
&&
56 /bin
/install -m 0644 include
/curl
/*.h
/mingw
/include
/curl
/ &&
58 ls ..
/certs
/*.pem
2>/dev
/null |
63 (printf "\n%s\n%s\n" "$name" "$(echo "$name" | sed 's/./=/g')" &&
64 cat $pem) >> lib
/ca-bundle.crt ||
break
66 cp lib
/ca-bundle.crt
/mingw
/bin
/curl-ca-bundle.crt
&&
67 /share
/msysGit
/post-install.sh
$index "Install $FILE"
68 ) || die
"Could not install $FILE"