pkg-config 0.25
This commit is contained in:
parent
6d7e2e8dc0
commit
eb6fad4879
1 changed files with 11 additions and 4 deletions
|
@ -2,12 +2,19 @@ require 'formula'
|
|||
|
||||
class PkgConfig <Formula
|
||||
homepage 'http://pkgconfig.freedesktop.org'
|
||||
url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz'
|
||||
md5 'd922a88782b64441d06547632fd85744'
|
||||
url 'http://pkgconfig.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", "--with-pc-path=#{paths*':'}", "--disable-debug", "--prefix=#{prefix}"
|
||||
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
|
Loading…
Reference in a new issue