Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
p11-kit 0.14
Browse files Browse the repository at this point in the history
Closes #16908.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Stefan authored and klausmeyer committed Jan 10, 2013
1 parent 2ba14b4 commit 72b1dcf
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Library/Formula/p11-kit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@

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
system "./configure", "--disable-debug",
"--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
Expand Down

0 comments on commit 72b1dcf

Please sign in to comment.