Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gtkdatabox 0.9.1.3

Closes #14841.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 7e24e718144b17d55ea7f0b8f9caad0e0a8e9582 1 parent ea63c1a
@ckdaas ckdaas authored yourabi committed
Showing with 23 additions and 0 deletions.
  1. +23 −0 Library/Formula/gtkdatabox.rb
View
23 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
Please sign in to comment.
Something went wrong with that request. Please try again.