homebrew-core/Formula/libsoup.rb

41 lines
1.1 KiB
Ruby
Raw Normal View History

require 'formula'
class Libsoup < Formula
homepage 'https://live.gnome.org/LibSoup'
url 'http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.48/libsoup-2.48.1.tar.xz'
sha256 '9b0d14b36e36a3131a06c6e3aa7245716e6904e3e636df81c0b6c8bd3f646f9a'
2014-03-28 17:23:58 +00:00
bottle do
2015-01-26 12:09:11 +00:00
sha1 "58bfb3f803cdb164301d33754d80cf0b12b44f4c" => :yosemite
sha1 "6701311c286723f87dc8699a150b9085f5b14431" => :mavericks
sha1 "94ad9a680bdd06cb14721217ffbe091c2f46c143" => :mountain_lion
2014-03-28 17:23:58 +00:00
end
depends_on 'pkg-config' => :build
2013-04-27 22:12:09 +00:00
depends_on 'intltool' => :build
depends_on 'glib-networking'
depends_on 'gnutls'
depends_on 'sqlite'
depends_on 'gobject-introspection' => :optional
def install
args = [
"--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--without-gnome",
"--disable-tls-check"
]
if build.with? "gobject-introspection"
args << "--enable-introspection"
else
args << "--disable-introspection"
end
system "./configure", *args
system "make install"
end
end