diff --git a/Formula/libgcrypt.rb b/Formula/libgcrypt.rb index 32fcfa1d06..72dc4cbc12 100644 --- a/Formula/libgcrypt.rb +++ b/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