parent
2c1de11aa4
commit
0c6359800b
1 changed files with 16 additions and 0 deletions
16
Formula/curl-ca-bundle.rb
Normal file
16
Formula/curl-ca-bundle.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue