aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/engine_pkcs11.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/engine_pkcs11.rb b/Library/Formula/engine_pkcs11.rb
index 2f3f0dcca..de6d1c19e 100644
--- a/Library/Formula/engine_pkcs11.rb
+++ b/Library/Formula/engine_pkcs11.rb
@@ -5,16 +5,17 @@ class EnginePkcs11 < Formula
url 'http://downloads.sourceforge.net/project/opensc/engine_pkcs11/engine_pkcs11-0.1.8.tar.gz'
sha1 '25f3c29c7f47da5f2c0bec1534aceec9651cfed3'
- head 'https://github.com/OpenSC/engine_pkcs11.git'
+ head do
+ url 'https://github.com/OpenSC/engine_pkcs11.git'
- depends_on 'pkg-config' => :build
- depends_on 'libp11'
-
- if build.head?
depends_on :automake
depends_on :libtool
end
+
+ depends_on 'pkg-config' => :build
+ depends_on 'libp11'
+
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",