pkg-config 0.28

Closes Homebrew/homebrew#17861.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Birger J. Nordølum 2013-02-18 08:59:52 +00:00 committed by Mike McQuaid
parent cd1f6272dc
commit c0f6f24160

View file

@ -2,15 +2,9 @@ require 'formula'
class PkgConfig < Formula
homepage 'http://pkgconfig.freedesktop.org'
url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.1.tar.gz'
mirror 'http://fossies.org/unix/privat/pkg-config-0.27.1.tar.gz'
sha256 '4f63d0df3035101b12949250da5231af49e3c3afcd8fb18554fa7c3cb92d8c17'
bottle do
sha1 '42935c12d2f0496f63bbba4b94c2c02a09035bf0' => :mountainlion
sha1 'dd791f33f599972d8c95fba908bf8485c46a772d' => :lion
sha1 '3f1f7c324e277c8774e045ffced8966086c237df' => :snowleopard
end
url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
mirror 'http://fossies.org/unix/privat/pkg-config-0.28.tar.gz'
sha256 '6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845'
def install
paths = %W[
@ -23,8 +17,9 @@ class PkgConfig < Formula
args = %W[
--disable-debug
--prefix=#{prefix}
--with-pc-path=#{paths*':'}
--disable-host-tool
--with-internal-glib
--with-pc-path=#{paths*':'}
]
args << "CC=#{ENV.cc} #{ENV.cflags}" unless MacOS::CLT.installed?