diff options
| author | ckdaas | 2012-06-13 00:55:48 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-07 20:59:30 -0800 |
| commit | 94fc3599dd5054c7799d1e103b9d62dd02b8b822 (patch) | |
| tree | 99522aa4ea72508b22f1b8c6c67553d45c04bc40 /Library | |
| parent | d2d71ed3e5bf968a9582c69aeee1efc4b27c1cc3 (diff) | |
| download | homebrew-94fc3599dd5054c7799d1e103b9d62dd02b8b822.tar.bz2 | |
gtkdatabox 0.9.1.3
Closes #14841.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gtkdatabox.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/gtkdatabox.rb b/Library/Formula/gtkdatabox.rb new file mode 100644 index 000000000..bae70cd85 --- /dev/null +++ b/Library/Formula/gtkdatabox.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Gtkdatabox < Formula + homepage 'http://sourceforge.net/projects/gtkdatabox/' + url 'http://downloads.sourceforge.net/project/gtkdatabox/gtkdatabox/0.9.1.3/gtkdatabox-0.9.1.3.tar.gz' + sha1 '02380eeb755b885856253a1a71dd3e8109c201df' + + depends_on 'pkg-config' => :build + depends_on 'gtk+' + depends_on :x11 + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + # We need to re-enable deprecated features of gtk + # in order to build without errors + # Will be fixed in the next upstream release + inreplace 'gtk/Makefile', '-DGTK_DISABLE_DEPRECATED', '' + inreplace 'examples/Makefile', '-DGTK_DISABLE_DEPRECATED', '' + + system "make install" + end +end |
