Skip to content

Commit

Permalink
libp11: fix system openssl linkage
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#40716.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
DomT4 committed Jun 14, 2015
1 parent 104187f commit 2d0e4c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Formula/libp11.rb
@@ -1,10 +1,9 @@
require 'formula'

class Libp11 < Formula
desc "PKCS#11 wrapper library in C"
homepage 'https://github.com/OpenSC/libp11/wiki'
url 'https://downloads.sourceforge.net/project/opensc/libp11/libp11-0.2.8.tar.gz'
sha1 '2d1f6dc4200038f55a0cb7e22858f93e484b0724'
homepage "https://github.com/OpenSC/libp11/wiki"
url "https://downloads.sourceforge.net/project/opensc/libp11/libp11-0.2.8.tar.gz"
sha256 "a4121015503ade98074b5e2a2517fc8a139f8b28aed10021db2bb77283f40691"
revision 1

bottle do
cellar :any
Expand All @@ -15,18 +14,19 @@ class Libp11 < Formula
end

head do
url 'https://github.com/OpenSC/libp11.git'
url "https://github.com/OpenSC/libp11.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end

depends_on "pkg-config" => :build
depends_on "libtool" => :run
depends_on "openssl"

def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
system "make", "install"
end
end

0 comments on commit 2d0e4c2

Please sign in to comment.