homebrew-core/Formula/libyubikey.rb
2015-06-05 14:47:57 +01:00

22 lines
696 B
Ruby

class Libyubikey < Formula
desc "C library for manipulating Yubico one-time passwords"
homepage "https://yubico.github.io/yubico-c/"
url "https://developers.yubico.com/yubico-c/Releases/libyubikey-1.12.tar.gz"
sha256 "b95387f791dad4d2544282299800f016736c363838e1e732f199bf90eba717b8"
bottle do
cellar :any
sha1 "220ecad49555d9b8fb07f27c45114d22d6d2c07a" => :yosemite
sha1 "554afeb53a8ea2cd5e94da98dee63107cb4f555a" => :mavericks
sha1 "131b7d2a109089877855f53eaf7784fe480afc8d" => :mountain_lion
end
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
end