homebrew-core/Formula/glib-networking.rb

23 lines
737 B
Ruby

require 'formula'
class GlibNetworking < Formula
homepage 'https://launchpad.net/glib-networking'
url 'http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.40/glib-networking-2.40.1.tar.xz'
sha256 '9fb3e54d049a480afdb814ff7452e7ab67e5d5f607ade230d7713f19922b5a28'
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'glib'
depends_on 'gnutls'
depends_on 'gsettings-desktop-schemas'
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--with-ca-certificates=#{etc}/openssl/cert.pem"
system "make install"
end
end