aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/pkg-config.rb20
1 files changed, 11 insertions, 9 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb
index 47ac76de8..cb7a4fcb8 100644
--- a/Library/Formula/pkg-config.rb
+++ b/Library/Formula/pkg-config.rb
@@ -1,17 +1,15 @@
-require 'formula'
-
class PkgConfig < Formula
- homepage 'http://pkgconfig.freedesktop.org'
- url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
- mirror 'http://fossies.org/linux/misc/pkg-config-0.28.tar.gz'
- sha256 '6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845'
+ homepage "http://pkgconfig.freedesktop.org"
+ url "http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz"
+ mirror "http://fossies.org/linux/misc/pkg-config-0.28.tar.gz"
+ sha256 "6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845"
bottle do
revision 2
sha1 "e9bcac1cfab9343a9e0c6d10a70b2797310d7706" => :yosemite
- sha1 '809937fdb5faaa3170f0abfc810ff244207d8975' => :mavericks
- sha1 'a0cbbdbe64aa3ffe665f674d68db8fb6fb84f7df' => :mountain_lion
- sha1 '44ec3ac051189dcd1e782cb7175979812f018e97' => :lion
+ sha1 "809937fdb5faaa3170f0abfc810ff244207d8975" => :mavericks
+ sha1 "a0cbbdbe64aa3ffe665f674d68db8fb6fb84f7df" => :mountain_lion
+ sha1 "44ec3ac051189dcd1e782cb7175979812f018e97" => :lion
end
def install
@@ -32,4 +30,8 @@ class PkgConfig < Formula
system "make", "check"
system "make", "install"
end
+
+ test do
+ system "#{bin}/pkg-config", "--libs", "openssl"
+ end
end