2011-01-05 14:09:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libyubikey < Formula
|
2013-05-24 18:16:39 +00:00
|
|
|
homepage 'http://yubico.github.io/yubico-c/'
|
2013-12-05 03:39:09 +00:00
|
|
|
url 'http://yubico.github.io/yubico-c/releases/libyubikey-1.11.tar.gz'
|
|
|
|
sha1 'a939abc129ed66af193d979765a8d8ac59ad7c40'
|
2011-01-05 14:09:07 +00:00
|
|
|
|
2014-07-03 21:27:44 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "e5cf353256f4e7ca7b18e00aeb9976eb772070e9" => :mavericks
|
|
|
|
sha1 "1b6c9c26b3cd5fd49fd9eae477b7cc2edd35e314" => :mountain_lion
|
|
|
|
sha1 "d7e5fbe2f2bbc8ac385f2b044539c686484357a4" => :lion
|
|
|
|
end
|
|
|
|
|
2014-03-21 18:40:23 +00:00
|
|
|
option :universal
|
|
|
|
|
2011-01-05 14:09:07 +00:00
|
|
|
def install
|
2014-03-21 18:40:23 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
|
|
|
|
2011-01-05 14:09:07 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|