Files
tigerbrew/Library/Formula/pkg-config.rb
T
Adam Vandenberg 96a3134c46 pkg-config: roll back to 0.25
0.26 requires glib (or a bootstrap glib), and glib requires pkg-config
so rather than dealing with Homebrew being broken, roll back to a previous
version.

See:
https://github.com/mxcl/homebrew/issues/6974#issuecomment-1795355
http://thread.gmane.org/gmane.comp.package-management.pkg-config/620
2011-08-12 16:37:05 -07:00

21 lines
568 B
Ruby

require 'formula'
class PkgConfig < Formula
homepage 'http://pkg-config.freedesktop.org'
url 'http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz'
md5 'a3270bab3f4b69b7dc6dbdacbcae9745'
def install
paths = %W[
#{HOMEBREW_PREFIX}/lib/pkgconfig
/usr/local/lib/pkgconfig
/usr/lib/pkgconfig
/usr/X11/lib/pkgconfig
].uniq
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-pc-path=#{paths*':'}"
system "make install"
end
end