cyassl v3.0.2

master
Brett Koonce 2014-06-21 13:22:21 -07:00
parent 54b7277f8a
commit abac127415
1 changed files with 11 additions and 11 deletions

View File

@ -1,15 +1,15 @@
require 'formula' require "formula"
class Cyassl < Formula class Cyassl < Formula
homepage 'http://yassl.com/yaSSL/Products-cyassl.html' homepage "http://yassl.com/yaSSL/Products-cyassl.html"
url 'https://github.com/cyassl/cyassl/archive/v3.0.0.tar.gz' url "https://github.com/cyassl/cyassl/archive/v3.0.2.tar.gz"
sha256 'd2e08badf1aa756760a8dc0313d2d9ae1e9b047f2d0ac7bd5eb5959f037f6b6f' sha256 "ff54f7fd319f358217f15fd2e1fcb56f00bf2050fb2ed3b699b83d62269c29ad"
head 'https://github.com/cyassl/cyassl.git' head "https://github.com/cyassl/cyassl.git"
depends_on 'autoconf' => :build depends_on "autoconf" => :build
depends_on 'automake' => :build depends_on "automake" => :build
depends_on 'libtool' => :build depends_on "libtool" => :build
def install def install
args = %W[--infodir=#{info} args = %W[--infodir=#{info}
@ -44,15 +44,15 @@ class Cyassl < Formula
] ]
if MacOS.prefer_64_bit? if MacOS.prefer_64_bit?
args << '--enable-fastmath' << '--enable-fasthugemath' args << "--enable-fastmath" << "--enable-fasthugemath"
else else
args << '--disable-fastmath' << '--disable-fasthugemath' args << "--disable-fastmath" << "--disable-fasthugemath"
end end
# Extra flag is stated as a needed for the Mac platform. # Extra flag is stated as a needed for the Mac platform.
# http://yassl.com/yaSSL/Docs-cyassl-manual-2-building-cyassl.html # http://yassl.com/yaSSL/Docs-cyassl-manual-2-building-cyassl.html
# Also, only applies if fastmath is enabled. # Also, only applies if fastmath is enabled.
ENV.append_to_cflags '-mdynamic-no-pic' if MacOS.prefer_64_bit? ENV.append_to_cflags "-mdynamic-no-pic" if MacOS.prefer_64_bit?
system "./autogen.sh" system "./autogen.sh"
system "./configure", *args system "./configure", *args