35 lines
1.2 KiB
Ruby
35 lines
1.2 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 "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
|