aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/libgcrypt.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/libgcrypt.rb b/Library/Formula/libgcrypt.rb
index 32fcfa1d0..72dc4cbc1 100644
--- a/Library/Formula/libgcrypt.rb
+++ b/Library/Formula/libgcrypt.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Libgcrypt < Formula
homepage "https://gnupg.org/"
url "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.2.tar.bz2"
@@ -42,4 +40,8 @@ class Libgcrypt < Formula
system "make", "check"
system "make", "install"
end
+
+ test do
+ system "#{bin}/libgcrypt-config", "--libs"
+ end
end