diff options
| author | Nicolas Mendoza | 2012-03-06 14:29:09 +0100 |
|---|---|---|
| committer | Jack Nagel | 2012-04-08 20:58:38 -0500 |
| commit | 39f82fe08ca90eae7634b3225fd53fbeaefeb4c6 (patch) | |
| tree | 7c52da89ff39478920bbf2816889fe9b14e1c1d5 /Library | |
| parent | 7747665fddde8ef619a0ad76cf4599f3f24b45d9 (diff) | |
| download | homebrew-39f82fe08ca90eae7634b3225fd53fbeaefeb4c6.tar.bz2 | |
New formula: gtk-chtheme
Closes #10719.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gtk-chtheme.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/gtk-chtheme.rb b/Library/Formula/gtk-chtheme.rb new file mode 100644 index 000000000..766d9b33f --- /dev/null +++ b/Library/Formula/gtk-chtheme.rb @@ -0,0 +1,22 @@ +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' + + 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 |
