p11-kit 0.14

Closes Homebrew/homebrew#16908.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Stefan 2013-01-05 18:07:42 +01:00 committed by Adam Vandenberg
parent 7eb44e10b0
commit 9bd05cac6e

View file

@ -2,13 +2,8 @@ require 'formula'
class P11Kit < Formula
homepage 'http://p11-glue.freedesktop.org'
url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.13.tar.gz'
sha256 '3cb942465efd5bde1c1875826118fe4bca45b0c9edc7c87835909a5866bed325'
def patches
# Upstream patch to fix duplicate symbol error
"http://cgit.freedesktop.org/p11-glue/p11-kit/patch/?id=4a6a685c03bd"
end
url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.14.tar.gz'
sha256 '7a5e561b8b4c6e25ed7a89ef36c8127437c8f18bd86fe4cd41d899c5c7def6d3'
def install
ENV.universal_binary
@ -16,6 +11,10 @@ class P11Kit < Formula
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
# Bug workaround: https://bugs.freedesktop.org/show_bug.cgi?id=57714
mv 'tests/.libs/mock-one.so', 'tests/.libs/mock-one.dylib'
system "make check"
system "make install"
end