0d74be4767
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
487 B
Ruby
16 lines
487 B
Ruby
require 'formula'
|
|
|
|
class Ykpers < Formula
|
|
url 'http://yubikey-personalization.googlecode.com/files/ykpers-1.6.3.tar.gz'
|
|
homepage 'http://code.google.com/p/yubikey-personalization/'
|
|
md5 '585b73f18a74d85a920065abcc1d82f7'
|
|
|
|
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
|