diff options
| author | Jack Nagel | 2013-09-21 19:27:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-21 19:27:26 -0500 |
| commit | fa337d799732721030eba470b19da0392c1588bc (patch) | |
| tree | 04aebf716247de41a75013c90ae5d38275b78456 /Library/Formula/libxml2.rb | |
| parent | eb33059f0f2594532af47216de9eff7d9c348f3c (diff) | |
| download | homebrew-fa337d799732721030eba470b19da0392c1588bc.tar.bz2 | |
libxml2: use spec deps
Diffstat (limited to 'Library/Formula/libxml2.rb')
| -rw-r--r-- | Library/Formula/libxml2.rb | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/Library/Formula/libxml2.rb b/Library/Formula/libxml2.rb index f78d0a1c0..0f64ebd42 100644 --- a/Library/Formula/libxml2.rb +++ b/Library/Formula/libxml2.rb @@ -2,22 +2,12 @@ require 'formula' class Libxml2 < Formula homepage 'http://xmlsoft.org' - url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz' - mirror 'http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz' - sha256 'fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb' - head 'https://git.gnome.org/browse/libxml2', :using => :git + stable do + url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz' + mirror 'http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz' + sha256 'fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb' - keg_only :provided_by_osx - - option :universal - - if build.head? - depends_on :python => :recommended # satisfied by Python 2.6+ - depends_on :autoconf - depends_on :automake - depends_on :libtool - else # 2.9.1 cannot build with Python 2.6: https://github.com/mxcl/homebrew/issues/20249 if MacOS.version <= :snow_leopard depends_on :python => ["2.7", :optional] @@ -26,6 +16,19 @@ class Libxml2 < Formula end end + head do + url 'https://git.gnome.org/browse/libxml2', :using => :git + + depends_on :python => :recommended # satisfied by Python 2.6+ + depends_on :autoconf + depends_on :automake + depends_on :libtool + end + + keg_only :provided_by_osx + + option :universal + fails_with :llvm do build 2326 cause "Undefined symbols when linking" |
