homebrew-core/Formula/gtkglextmm.rb
Nick Hawes d0c1d85229 New formula: gtkglextmm
Closes Homebrew/homebrew#10211.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21 22:08:35 -05:00

24 lines
818 B
Ruby

require 'formula'
class Gtkglextmm < Formula
homepage 'http://projects.gnome.org/gtkglext'
url 'http://downloads.sourceforge.net/gtkglext/gtkglextmm-1.2.0.tar.gz'
md5 '6296b82bde8daa68452b2f0b4dadcb9e'
depends_on 'pkg-config' => :build
depends_on 'gtkglext'
depends_on 'gtkmm'
# Fixes header include order, using patch from macports: https://trac.macports.org/ticket/27059
# Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=636831
def patches
{ :p0 => "https://trac.macports.org/export/89836/trunk/dports/devel/gtkglextmm/files/patch-gtkglext_gtkmm_gl-widget.cc.diff" }
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end