diff options
| author | Jack Nagel | 2012-07-17 12:36:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-19 02:59:56 -0500 |
| commit | d74d0328f0ae3b0a0b39495ca926fdfe338b0e51 (patch) | |
| tree | e03eb4b01f53c61b5e89cbf0a7fca9112beb8e81 /Library/Formula/pkg-config.rb | |
| parent | 6095018ba48e5f86008a35ab971a12d1fac13863 (diff) | |
| download | homebrew-d74d0328f0ae3b0a0b39495ca926fdfe338b0e51.tar.bz2 | |
pkg-config 0.27
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pkg-config.rb')
| -rw-r--r-- | Library/Formula/pkg-config.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb index ffc8d0374..f60ee807b 100644 --- a/Library/Formula/pkg-config.rb +++ b/Library/Formula/pkg-config.rb @@ -2,17 +2,12 @@ require 'formula' class PkgConfig < Formula homepage 'http://pkgconfig.freedesktop.org' + url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz' + sha256 '79a6b43ee6633c9e6cc03eb1706370bb7a8450659845b782411f969eaba656a4' - # yes we know pkg-config 0.26 is now out, however it depends on glib - # this is totally ridiculous dependency and we refuse to upgrade until - # someone can prove we must. - url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz' - md5 'a3270bab3f4b69b7dc6dbdacbcae9745' + depends_on 'gettext' def install - # fixes compile error on Lion with Clang duplicate symbols in libglib - ENV.append_to_cflags '-std=gnu89' if ENV.compiler == :clang - paths = %W[ #{HOMEBREW_PREFIX}/lib/pkgconfig #{HOMEBREW_PREFIX}/share/pkgconfig @@ -21,7 +16,8 @@ class PkgConfig < Formula ].uniq system "./configure", "--disable-debug", "--prefix=#{prefix}", - "--with-pc-path=#{paths*':'}" + "--with-pc-path=#{paths*':'}", + "--with-internal-glib" system "make" system "make check" system "make install" |
