blob: f632f2059adc341af6c1f334d21b87c9156602b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | 
require 'formula'
class Libsoup < Formula
  homepage 'http://live.gnome.org/LibSoup'
  url 'http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.44/libsoup-2.44.2.tar.xz'
  sha256 'e7e4b5ab74a6c00fc267c9f5963852d28759ad3154dab6388e2d6e1962d598f3'
  depends_on 'xz' => :build
  depends_on 'pkg-config' => :build
  depends_on 'intltool' => :build
  depends_on 'glib-networking' # Required at runtime for TLS support
  depends_on 'gnutls' # Also required for TLS
  depends_on 'sqlite' # For SoupCookieJarSqlite
  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--without-gnome",
                          "--disable-tls-check"
    system "make install"
  end
end
  |