aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pkg-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pkg-config.rb')
-rw-r--r--Library/Formula/pkg-config.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb
new file mode 100644
index 000000000..9254c5a65
--- /dev/null
+++ b/Library/Formula/pkg-config.rb
@@ -0,0 +1,14 @@
+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? --with-installed-glib
+
+ def install
+ system "./configure --with-pc-path=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:#{$root}/lib/pkgconfig --disable-debug --prefix='#{prefix}'"
+ system "make install"
+ end
+end \ No newline at end of file