7 URL
=http
://curl.haxx.se
/download
/$DIR.
tar.bz2
18 die
"Could not download cURL"
24 git commit
-m "Import of $FILE"
26 } || die
"Could not check out cURL"
28 test $
(cd $DIR && git rev-list HEAD |
wc -l) -gt 1 ||
29 (cd $DIR && git am ..
/patches
/*) ||
30 die
"Could not apply patches"
33 .
/configure
--prefix=/mingw
--with-ssl=/mingw
&&
35 index
=$
(/share
/msysGit
/pre-install.sh
) &&
38 ls ..
/certs
/*.pem
2>/dev
/null |
43 (printf "\n%s\n%s\n" "$name" "$(echo "$name" | sed 's/./=/g')" &&
44 cat $pem) >> lib
/ca-bundle.crt ||
break
46 cp lib
/ca-bundle.crt
/mingw
/bin
/curl-ca-bundle.crt
&&
47 /share
/msysGit
/post-install.sh
$index "Install $FILE"
48 ) || die
"Could not install $FILE"