Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
gtkdatabox 0.9.1.3
Browse files Browse the repository at this point in the history
Closes #14841.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
ckdaas authored and yourabi committed Jan 9, 2013
1 parent ea63c1a commit 7e24e71
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 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

0 comments on commit 7e24e71

Please sign in to comment.