7 URL
=http
://curl.haxx.se
/download
/$DIR.
tar.bz2
18 die
"Could not download cURL"
23 git config core.autocrlf false
&&
25 git commit
-m "Import of $FILE"
27 } || die
"Could not check out cURL"
29 test $
(cd $DIR && git rev-list HEAD |
wc -l) -gt 1 ||
30 (cd $DIR && git am ..
/patches
/*) ||
31 die
"Could not apply patches"
34 .
/configure
--prefix=/mingw
--with-ssl=/mingw
--enable-sspi &&
36 index
=$
(/share
/msysGit
/pre-install.sh
) &&
39 ls ..
/certs
/*.pem
2>/dev
/null |
44 (printf "\n%s\n%s\n" "$name" "$(echo "$name" | sed 's/./=/g')" &&
45 cat $pem) >> lib
/ca-bundle.crt ||
break
47 cp lib
/ca-bundle.crt
/mingw
/bin
/curl-ca-bundle.crt
&&
48 /share
/msysGit
/post-install.sh
$index "Install $FILE"
49 ) || die
"Could not install $FILE"