homebrew-core/Formula/gtkglarea.rb
2015-06-05 14:47:57 +01:00

19 lines
557 B
Ruby

require 'formula'
class Gtkglarea < Formula
desc "OpenGL context provider for GTK+"
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