homebrew-core/Formula/gconf.rb
2017-09-19 14:02:25 +02:00

37 lines
1.4 KiB
Ruby

class Gconf < Formula
desc "System for storing user application preferences"
homepage "https://projects.gnome.org/gconf/"
url "https://download.gnome.org/sources/GConf/3.2/GConf-3.2.6.tar.xz"
sha256 "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
revision 1
bottle do
sha256 "e8a40df67c6816854cdfa9530e4c3b437907f5f92c32e8292f239d957dc1c0c8" => :high_sierra
sha256 "46a60790c5f50f74833167d63e6a4772cd7b3de5672a54dd9a26ff7d82df1cb7" => :sierra
sha256 "e810083f15d5ebb027c92071ea67c5960abf4d0b19c5e7809a71d026a78ae34a" => :el_capitan
sha256 "85f809fb483b3c78b283d3e7b681b133d106d991717d361c0bdd9596a81178ea" => :yosemite
sha256 "91bbb172f214d7fc407f20eef91a6d4dcf0140da4e91d99f4e0c2fd1e902815d" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gettext"
depends_on "dbus"
depends_on "glib"
depends_on "dbus-glib"
depends_on "orbit"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--disable-silent-rules", "--prefix=#{prefix}",
"--sysconfdir=#{etc}"
system "make", "install"
# Refresh the cache post-install, not during install.
rm lib/"gio/modules/giomodule.cache"
end
def post_install
system Formula["glib"].opt_bin/"gio-querymodules", HOMEBREW_PREFIX/"lib/gio/modules"
end
end