b5706e2d9c
CONSTANTS are the far saner choice for these important parameters. Split env up so I can redefine the CONSTANTS in unittest.rb.
14 lines
No EOL
475 B
Ruby
14 lines
No EOL
475 B
Ruby
require 'brewkit'
|
|
|
|
class PkgConfig <Formula
|
|
@homepage='http://pkgconfig.freedesktop.org'
|
|
@url='http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz'
|
|
@md5='d922a88782b64441d06547632fd85744'
|
|
|
|
#TODO depend on our glib if available. --with-installed-glib
|
|
|
|
def install
|
|
system "./configure --with-pc-path=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:#{HOMEBREW_PREFIX}/lib/pkgconfig --disable-debug --prefix='#{prefix}'"
|
|
system "make install"
|
|
end
|
|
end |