2013-04-12 19:40:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gtkglarea < Formula
|
|
|
|
homepage 'https://github.com/GNOME/gtkglarea'
|
2014-04-03 14:25:42 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/gtkglarea/2.0/gtkglarea-2.0.1.tar.gz'
|
2013-04-12 19:40:22 +00:00
|
|
|
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
|