2012-03-06 13:29:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GtkChtheme < Formula
|
|
|
|
homepage 'http://plasmasturm.org/code/gtk-chtheme/'
|
|
|
|
url 'http://plasmasturm.org/code/gtk-chtheme/gtk-chtheme-0.3.1.tar.bz2'
|
|
|
|
md5 'f688053bf26dd6c4f1cd0bf2ee33de2a'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gdk-pixbuf'
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'pango'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2012-03-06 13:29:09 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# Unfortunately chtheme relies on some deprecated functionality
|
|
|
|
# we need to disable errors for it to compile properly
|
|
|
|
inreplace 'Makefile', '-DGTK_DISABLE_DEPRECATED', ''
|
|
|
|
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
end
|