homebrew-core/Formula/gtkglarea.rb
Nat Ritmeyer 0580def6dd gtkglarea 2.0.1
GtkGLArea is an OpenGL context provider for GTK+

Closes Homebrew/homebrew#19160.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-04 16:12:16 -07:00

18 lines
515 B
Ruby

require 'formula'
class Gtkglarea < Formula
homepage 'https://github.com/GNOME/gtkglarea'
url 'http://ftp.gnome.org/pub/GNOME/sources/gtkglarea/2.0/gtkglarea-2.0.1.tar.gz'
sha1 'db12f2bb9a3d28d69834832e2e04a255acfd8a6d'
depends_on :x11
depends_on 'gtk+'
depends_on 'pkg-config' => :build
def install
ENV.append 'LDFLAGS', '-lX11'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end