New formula: yubikey-personalization

Closes Homebrew/homebrew#18692.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Xavier Shay 2013-03-23 18:08:14 -07:00 committed by Jack Nagel
parent 4ff94bd990
commit 920b95b48b

View file

@ -0,0 +1,23 @@
require 'formula'
class YubikeyPersonalization < Formula
homepage 'https://www.yubico.com/develop/open-source-software/personalization-libraries/'
url 'https://github.com/Yubico/yubikey-personalization/archive/v1.12.0.zip'
sha1 'd0b12de3b2dcc83a11dd340e97a45aa2eb080fd0'
depends_on 'libtool' => :build
depends_on 'automake' => :build
depends_on 'autoconf' => :build
depends_on 'libyubikey'
def install
system "autoreconf", "--install"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/ykchalresp"
end
end