homebrew-core/Formula/p11-kit.rb

24 lines
657 B
Ruby
Raw Normal View History

require 'formula'
class P11Kit < Formula
homepage 'http://p11-glue.freedesktop.org'
url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.18.4.tar.gz'
sha256 'df5424ec39e17c2b3b98819bf772626e9b8c73871a8b82e54151f6297d8575fd'
option :universal
2013-04-04 23:38:10 +00:00
depends_on 'pkg-config' => :build
depends_on 'libtasn1'
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
2013-04-04 23:38:10 +00:00
"--prefix=#{prefix}",
"--disable-trust-module"
system "make"
system "make check"
system "make install"
end
end