homebrew-core/Formula/gnome-icon-theme.rb

30 lines
1,006 B
Ruby
Raw Normal View History

require "formula"
class GnomeIconTheme < Formula
homepage "https://developer.gnome.org"
2014-05-11 17:29:06 +00:00
url "http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz"
sha1 "cc0f0dc55db3c4ca7f2f34564402f712807f1342"
revision 1
bottle do
cellar :any
sha1 "e9329d81e8c615e78f0c96e62b91008dbc4a74e5" => :mavericks
sha1 "84c1e818410a0c5b8b33c6b07932b8a547f69ede" => :mountain_lion
sha1 "3bbeb7cee6c7bd1e1b070cc0be276502eee3cc6b" => :lion
end
depends_on "pkg-config" => :build
2014-05-11 17:29:06 +00:00
depends_on "gettext" => :build
depends_on "gtk+3" => :build # for gtk3-update-icon-cache
2014-05-11 17:29:06 +00:00
depends_on "icon-naming-utils" => :build
depends_on "intltool" => :build
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-icon-mapping",
"GTK_UPDATE_ICON_CACHE=#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache"
system "make", "install"
end
end