diff options
| author | Jack Nagel | 2012-08-12 12:59:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:03 -0500 |
| commit | c9a8ce6f7860d9414dafc4ff283b04b076eb6b99 (patch) | |
| tree | abdafc30729dcedfc7b49f7c354423b331285a85 /Library/Formula/pygobject.rb | |
| parent | 9efdd9361ac7ecc8f22079b9088ff5564dd5fbb4 (diff) | |
| download | homebrew-c9a8ce6f7860d9414dafc4ff283b04b076eb6b99.tar.bz2 | |
pygobject: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pygobject.rb')
| -rw-r--r-- | Library/Formula/pygobject.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/pygobject.rb b/Library/Formula/pygobject.rb index 786d9a67b..bebd45cde 100644 --- a/Library/Formula/pygobject.rb +++ b/Library/Formula/pygobject.rb @@ -9,17 +9,15 @@ class Pygobject < Formula depends_on 'gobject-introspection' depends_on 'gtk+' + option :universal + # https://bugzilla.gnome.org/show_bug.cgi?id=668522 def patches "http://git.gnome.org/browse/pygobject/patch/gio/gio-types.defs?id=42d01f060c5d764baa881d13c103d68897163a49" end - def options - [["--universal", "Builds a universal binary"]] - end - def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-introspection" |
