blob: 5d1460799612166f73a02ebec11039706f41b943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
require "formula"
class Uriparser < Formula
homepage "http://uriparser.sourceforge.net/"
url "https://downloads.sourceforge.net/project/uriparser/Sources/0.8.0.1/uriparser-0.8.0.1.tar.bz2"
sha1 "53b16dd0640fda006ba4f9d750fec7e7c58836a9"
bottle do
cellar :any
sha1 "c0894ffc030b1191aeeef9f06a9e8acf3980379d" => :mavericks
sha1 "b024477e49c80eaba58fe01d7a099ac2945d62f7" => :mountain_lion
sha1 "8b8e8966fff4358e9db0109b208d6d6d7e29c269" => :lion
end
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
|