diff options
| author | Adam Vandenberg | 2012-08-09 21:57:05 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-09 22:00:53 -0700 |
| commit | b44b4cc4e4c55e64c892548b52bf3c78464ccbc7 (patch) | |
| tree | 7f8ae560d30726340012f147999b4f365e9be021 /Library | |
| parent | e6b97bebd99779b52462dcd387191d804fc95b93 (diff) | |
| download | homebrew-b44b4cc4e4c55e64c892548b52bf3c78464ccbc7.tar.bz2 | |
gdk-pixbuf: use options dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gdk-pixbuf.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/gdk-pixbuf.rb b/Library/Formula/gdk-pixbuf.rb index 8ddb03d87..8bc1692a6 100644 --- a/Library/Formula/gdk-pixbuf.rb +++ b/Library/Formula/gdk-pixbuf.rb @@ -5,6 +5,8 @@ class GdkPixbuf < Formula url 'http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.26/gdk-pixbuf-2.26.1.tar.xz' sha256 'a60af12b58d9cc15ba4c680c6730ce5d38e8d664af1d575a379385b94b4ec7ba' + option :universal + depends_on 'pkg-config' => :build depends_on 'xz' => :build depends_on 'glib' @@ -15,12 +17,8 @@ class GdkPixbuf < Formula # 'loaders.cache' must be writable by other packages skip_clean 'lib/gdk-pixbuf-2.0' - def options - [["--universal", "Build a universal binary."]] - end - def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--disable-maintainer-mode", "--enable-debug=no", |
