2014-12-23 02:48:29 +00:00
|
|
|
class LibsoupWithGnome < Formula
|
2015-04-03 17:29:34 +00:00
|
|
|
homepage "https://live.gnome.org/LibSoup"
|
2015-07-24 16:33:08 +00:00
|
|
|
url "http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.51/libsoup-2.51.3.tar.xz"
|
|
|
|
sha256 "ba7ef78e7e93cb08805daa1eb3a116914db7a5caf6a9f386817a7431ba5ef949"
|
2014-12-23 02:48:29 +00:00
|
|
|
|
|
|
|
bottle do
|
|
|
|
revision 1
|
|
|
|
sha1 "dc4dcb53c9da238e99feb055e70789eb54a2e98f" => :yosemite
|
|
|
|
sha1 "4c7ab2c3b250ace75f099f80dd9ba36f4b277550" => :mavericks
|
|
|
|
sha1 "693146c16d4105de3716252f2da9cf35156c0328" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-04-03 17:29:34 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "intltool" => :build
|
|
|
|
depends_on "glib-networking"
|
|
|
|
depends_on "gnutls"
|
|
|
|
depends_on "sqlite"
|
|
|
|
depends_on "gobject-introspection" => :optional
|
2014-12-23 02:48:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
args = [
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-tls-check"
|
|
|
|
]
|
|
|
|
|
|
|
|
if build.with? "gobject-introspection"
|
|
|
|
args << "--enable-introspection"
|
|
|
|
else
|
|
|
|
args << "--disable-introspection"
|
|
|
|
end
|
|
|
|
|
|
|
|
system "./configure", *args
|
2015-04-03 17:29:34 +00:00
|
|
|
system "make", "install"
|
2014-12-23 02:48:29 +00:00
|
|
|
end
|
|
|
|
end
|