2012-06-10 16:22:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Cogl < Formula
|
|
|
|
homepage 'http://wiki.clutter-project.org/wiki/Cogl'
|
2012-08-15 17:55:50 +00:00
|
|
|
url 'http://download.gnome.org/sources/cogl/1.10/cogl-1.10.4.tar.xz'
|
|
|
|
sha256 '0b5c9989f1d07dbda000a68640eb7ebf734513d52e3707668c41eed19991adf9'
|
2012-06-10 16:22:24 +00:00
|
|
|
|
|
|
|
head 'git://git.gnome.org/cogl'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2012-08-23 05:53:09 +00:00
|
|
|
|
2012-08-15 17:55:50 +00:00
|
|
|
depends_on 'xz' => :build
|
2012-08-23 05:53:09 +00:00
|
|
|
depends_on 'glib'
|
2012-06-10 16:22:24 +00:00
|
|
|
depends_on 'pango'
|
|
|
|
depends_on 'cairo' # needs cairo-gobject
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./autogen.sh" if ARGV.build_head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-introspection"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|