aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKlas Lindfors2013-06-25 15:27:27 +0100
committerAdam Vandenberg2013-06-30 10:49:04 -0700
commitbaaea328d5b8d5bed0896f8878c1cb60a4983461 (patch)
tree6b1a6bc033e77ea7703f043b0ac586b9abc64d52 /Library
parente96d4b7806699bd563751e568d9f7e34a3d3181c (diff)
downloadhomebrew-baaea328d5b8d5bed0896f8878c1cb60a4983461.tar.bz2
ykpers: update dependencies
Uses json-c, and pkg-config to find json-c. Closes #20811. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ykpers.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ykpers.rb b/Library/Formula/ykpers.rb
index 3abc92701..e5233424e 100644
--- a/Library/Formula/ykpers.rb
+++ b/Library/Formula/ykpers.rb
@@ -6,6 +6,8 @@ class Ykpers < Formula
sha1 'dcf3b1d8749c3bfda9bc84e469d4676fdb22ae23'
depends_on 'libyubikey'
+ depends_on 'json-c' => :recommended
+ depends_on 'pkg-config' => :build
# Pre-Lion fix, per MacPorts. See:
# https://trac.macports.org/ticket/34910
@@ -21,6 +23,7 @@ class Ykpers < Formula
"--with-libyubikey-prefix=#{libyubikey_prefix}",
'--with-backend=osx',
'--disable-dependency-tracking'
+ system "make check"
system "make install"
end
end