homebrew-core/Formula/libmpq.rb
George Kulakowski 4036e972d2 Fix libmpq download strategy
The website and url for this formula have a bad certificate. The fix
is to use the Unsafe strategy. However, that is commented as
undesirable. I suppose the alternatives would be finding an alternate
download location or removing the formula.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-22 09:31:46 -08:00

17 lines
478 B
Ruby

require 'formula'
class Libmpq <Formula
# Website currently has a bad SSL cert
url 'https://libmpq.org/download/libmpq-0.4.2.tar.bz2',
:using => CurlUnsafeDownloadStrategy
md5 '54ec039b9654ba1662485e1bc9682850'
homepage 'https://libmpq.org'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end