Skip to content
Browse files

Yubikey tools: libyubikey, ykclient, ykpers

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 88849dd commit 702d622ef1a24b63383e66c62914b0b0effb1cc2 @include include committed with adamv
Showing with 40 additions and 0 deletions.
  1. +12 −0 Library/Formula/libyubikey.rb
  2. +12 −0 Library/Formula/ykclient.rb
  3. +16 −0 Library/Formula/ykpers.rb
View
12 Library/Formula/libyubikey.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Libyubikey < Formula
+ url 'http://yubico-c.googlecode.com/files/libyubikey-1.7.tar.gz'
+ homepage 'http://code.google.com/p/yubico-c/'
+ md5 '6468ee9962b45b1daa8be4c040d6a877'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+end
View
12 Library/Formula/ykclient.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Ykclient < Formula
+ url 'http://yubico-c-client.googlecode.com/files/ykclient-2.3.tar.gz'
+ homepage 'http://code.google.com/p/yubico-c-client/'
+ md5 '7de70fb19e1a1857689afaec74def7fb'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+end
View
16 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

0 comments on commit 702d622

Please sign in to comment.
Something went wrong with that request. Please try again.