2011-01-05 14:09:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ykpers < Formula
|
|
|
|
homepage 'http://code.google.com/p/yubikey-personalization/'
|
2012-07-27 05:57:00 +00:00
|
|
|
url 'http://yubikey-personalization.googlecode.com/files/ykpers-1.7.0.tar.gz'
|
|
|
|
sha1 'de325107c1d6e9d3a61199cad5eeac69b98a36d7'
|
2011-01-05 14:09:07 +00:00
|
|
|
|
|
|
|
depends_on 'libyubikey'
|
|
|
|
|
|
|
|
def install
|
|
|
|
libyubikey_prefix = Formula.factory('libyubikey').prefix
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2012-06-15 05:15:01 +00:00
|
|
|
"--with-libyubikey-prefix=#{libyubikey_prefix}",
|
|
|
|
'--with-backend=osx',
|
|
|
|
'--disable-dependency-tracking'
|
2011-01-05 14:09:07 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|