aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-01-17 23:21:29 -0600
committerJack Nagel2013-01-19 14:49:02 -0600
commitb9f25b5025d5e8c8ff3f0862614495f56f8b5782 (patch)
treeea6c835bcb256f8512cb11b88dce5d33231aa5a7 /Library/Formula
parent4a0818099c9c40ba9b313aa88d81ac1992507657 (diff)
downloadhomebrew-b9f25b5025d5e8c8ff3f0862614495f56f8b5782.tar.bz2
curl-ca-bundle 1.87
Closes #15760.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/curl-ca-bundle.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/curl-ca-bundle.rb b/Library/Formula/curl-ca-bundle.rb
new file mode 100644
index 000000000..ebb7852ee
--- /dev/null
+++ b/Library/Formula/curl-ca-bundle.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class CurlCaBundle < Formula
+ homepage 'http://curl.haxx.se/docs/caextract.html'
+ url 'http://curl.haxx.se/download/curl-7.28.1.tar.gz'
+ sha256 '78dce7cfff51ec5725442b92c00550b4e0ca2f45ad242223850a312cd9160509'
+ version '1.87'
+
+ def install
+ cd 'lib' do
+ inreplace 'mk-ca-bundle.pl', /(http):/, '\1s:'
+ system 'perl', 'mk-ca-bundle.pl'
+ share.install 'ca-bundle.crt'
+ end
+ end
+end