homebrew-core/Formula/uriparser.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

20 lines
600 B
Ruby

require 'formula'
class Uriparser < Formula
homepage 'http://uriparser.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/uriparser/Sources/0.8.0/uriparser-0.8.0.tar.bz2'
sha1 '4bfe347220b00ff9cd3252e2b784d13e583282fb'
depends_on 'pkg-config' => :build
depends_on 'cpptest'
conflicts_with 'libkml', :because => 'both install `liburiparser.dylib`'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-doc"
system "make check"
system "make install"
end
end