aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ykpers.rb
diff options
context:
space:
mode:
authorinclude2011-01-05 14:09:07 +0000
committerAdam Vandenberg2011-09-01 10:19:11 -0700
commit702d622ef1a24b63383e66c62914b0b0effb1cc2 (patch)
tree6d0f55c40406c2f1dd59675f314bcf875652c0a2 /Library/Formula/ykpers.rb
parent88849ddce015bb63c2bbfb0bde9decbd1adcfa3e (diff)
downloadhomebrew-702d622ef1a24b63383e66c62914b0b0effb1cc2.tar.bz2
Yubikey tools: libyubikey, ykclient, ykpers
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ykpers.rb')
-rw-r--r--Library/Formula/ykpers.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/ykpers.rb b/Library/Formula/ykpers.rb
new file mode 100644
index 000000000..777983b4e
--- /dev/null
+++ b/Library/Formula/ykpers.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Ykpers < Formula
+ url 'http://yubikey-personalization.googlecode.com/files/ykpers-1.3.5.tar.gz'
+ homepage 'http://code.google.com/p/yubikey-personalization/'
+ md5 '9aeea5a005afcd431de3dd591400fac5'
+
+ depends_on 'libyubikey'
+
+ def install
+ libyubikey_prefix = Formula.factory('libyubikey').prefix
+ system "./configure", "--prefix=#{prefix}",
+ "--with-libyubikey-prefix=#{libyubikey_prefix}"
+ system "make install"
+ end
+end