szl: system openssl fix

Fix for tapping the system OpenSSL and some style nits.

Closes Homebrew/homebrew#36419.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Dominyk Tiller 2015-01-31 18:21:11 +00:00 committed by Jack Nagel
parent 04f55e8c07
commit 65f3b7a783

View file

@ -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