aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pkg-config.rb
diff options
context:
space:
mode:
authorMax Howell2009-06-04 19:21:19 +0100
committerMax Howell2009-06-04 19:36:58 +0100
commite91aeafc82edb2b79af67e342009cd019cd1ede5 (patch)
tree2c12888da095f544f650787ad447aa2edb94d8c1 /Library/Formula/pkg-config.rb
parent84ad47bc3c8029847e5c41ab4646a6b9455b370a (diff)
downloadhomebrew-e91aeafc82edb2b79af67e342009cd019cd1ede5.tar.bz2
Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library. This way the homebrew core files are more sensibly placed, Cellar is more internally consistent and only generated. And Homebrew is ready for use straight out of the tarball.
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