2011-01-05 14:09:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ykpers < Formula
|
2012-05-04 19:55:07 +00:00
|
|
|
url 'http://yubikey-personalization.googlecode.com/files/ykpers-1.6.3.tar.gz'
|
2011-01-05 14:09:07 +00:00
|
|
|
homepage 'http://code.google.com/p/yubikey-personalization/'
|
2012-05-04 19:55:07 +00:00
|
|
|
md5 '585b73f18a74d85a920065abcc1d82f7'
|
2011-01-05 14:09:07 +00:00
|
|
|
|
|
|
|
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
|