aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2015-01-31 18:21:11 +0000
committerJack Nagel2015-01-31 16:57:16 -0500
commit7a8cff58c87f1e6b0551295f0f921ef685d2b493 (patch)
tree07f681dccd9df19b701e2d64b90a06e0298660df /Library/Formula
parent586876872b76f58b453a1254fe3884a858d13629 (diff)
downloadhomebrew-7a8cff58c87f1e6b0551295f0f921ef685d2b493.tar.bz2
szl: system openssl fix
Fix for tapping the system OpenSSL and some style nits. Closes #36419. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/szl.rb13
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/szl.rb b/Library/Formula/szl.rb
index f4727d90f..0ae84dbfc 100644
--- a/Library/Formula/szl.rb
+++ b/Library/Formula/szl.rb
@@ -1,10 +1,8 @@
-require "formula"
-
class Szl < Formula
- homepage "http://code.google.com/p/szl/"
+ homepage "https://code.google.com/p/szl/"
url "https://szl.googlecode.com/files/szl-1.0.tar.gz"
sha1 "e4c6d4aec1afc025257d41dd77b8f5c25ea120d4"
- revision 3
+ revision 4
bottle do
cellar :any
@@ -17,6 +15,7 @@ class Szl < Formula
depends_on "icu4c"
depends_on "protobuf"
depends_on "pcre"
+ depends_on "openssl"
# 10.9 and clang fixes
# Include reported upstream in:
@@ -29,7 +28,11 @@ class Szl < Formula
ENV["OBJDUMP"] = "#{HOMEBREW_PREFIX}/bin/gobjdump"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system bin/"szl", "-V"
end
end