aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pygobject.rb
diff options
context:
space:
mode:
authorJohn Harrison2011-12-19 11:48:28 -0600
committerAdam Vandenberg2012-02-18 21:38:50 -0800
commit99b4fd828158891b1d7e30d14c77105413ebf04f (patch)
tree8fd64c5a6f3f6708fd28fb14060cea0e6ea9b12e /Library/Formula/pygobject.rb
parent846b89662621c2139eeb519b2769d70271a5b348 (diff)
downloadhomebrew-99b4fd828158891b1d7e30d14c77105413ebf04f.tar.bz2
pygobject 2.28.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/pygobject.rb')
-rw-r--r--Library/Formula/pygobject.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/pygobject.rb b/Library/Formula/pygobject.rb
new file mode 100644
index 000000000..19955a44c
--- /dev/null
+++ b/Library/Formula/pygobject.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Pygobject < Formula
+ url 'http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2'
+ homepage 'http://live.gnome.org/PyGObject'
+ md5 'a43d783228dd32899e6908352b8308f3'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'gobject-introspection'
+ depends_on 'gtk+'
+
+ def options
+ [["--universal", "Builds a universal binary"]]
+ end
+
+ def install
+ ENV.universal_binary if ARGV.build_universal?
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--disable-introspection"
+ system "make install"
+ end
+end