Created
September 7, 2015 15:44
-
-
Save dlo/9945b2b9e5fe7b2ac901 to your computer and use it in GitHub Desktop.
Homebrew formula for https://github.com/Yubico/libu2f-host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Libu2fHost < Formula | |
desc "Libu2f-host provide a C library and command-line tool that implements the host-side of the U2F protocol. " | |
homepage "https://developers.yubico.com/libu2f-host/" | |
url "https://developers.yubico.com/libu2f-host/Releases/libu2f-host-1.0.0.tar.xz" | |
version "1.0.0" | |
sha256 "18c56b9b5cfea2566925bba45b25a4e20b3ef8696905d8f2a06116316e164374" | |
depends_on "pkg-config" => :build | |
depends_on "hidapi" => :build | |
depends_on "json-c" => :build | |
def install | |
args = ["--prefix=#{prefix}"] | |
system "./configure", *args | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment