Libsodium 1.0.0
Version bump from 0.7.1 to the big 1.0.0. Closes Homebrew/homebrew#32622. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
f14740a850
commit
41b1d65366
2 changed files with 13 additions and 12 deletions
|
@ -2,8 +2,8 @@ require "formula"
|
|||
|
||||
class Libsodium < Formula
|
||||
homepage "https://github.com/jedisct1/libsodium/"
|
||||
url "https://github.com/jedisct1/libsodium/releases/download/0.7.1/libsodium-0.7.1.tar.gz"
|
||||
sha256 "ef46bbb5bac263ef6d3fc00ccc11d4690aea83643412919fe15369b9870280a7"
|
||||
url "https://github.com/jedisct1/libsodium/releases/download/1.0.0/libsodium-1.0.0.tar.gz"
|
||||
sha256 "ced1fe3d2066953fea94f307a92f8ae41bf0643739a44309cbe43aa881dbc9a5"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
require 'formula'
|
||||
|
||||
class Zeromq < Formula
|
||||
homepage 'http://www.zeromq.org/'
|
||||
url 'http://download.zeromq.org/zeromq-4.0.4.tar.gz'
|
||||
sha1 '2328014e5990efac31390439b75c5528e38e4490'
|
||||
homepage "http://www.zeromq.org/"
|
||||
url "http://download.zeromq.org/zeromq-4.0.4.tar.gz"
|
||||
sha1 "2328014e5990efac31390439b75c5528e38e4490"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -13,7 +14,7 @@ class Zeromq < Formula
|
|||
end
|
||||
|
||||
head do
|
||||
url 'https://github.com/zeromq/libzmq.git'
|
||||
url "https://github.com/zeromq/libzmq.git"
|
||||
|
||||
depends_on :autoconf
|
||||
depends_on :automake
|
||||
|
@ -22,11 +23,11 @@ class Zeromq < Formula
|
|||
|
||||
|
||||
option :universal
|
||||
option 'with-pgm', 'Build with PGM extension'
|
||||
option "with-pgm", "Build with PGM extension"
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libpgm' if build.with? "pgm"
|
||||
depends_on 'libsodium' => :optional
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libpgm" if build.with? "pgm"
|
||||
depends_on "libsodium" => :optional
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
|
@ -39,12 +40,12 @@ class Zeromq < Formula
|
|||
args << "--with-system-pgm"
|
||||
end
|
||||
|
||||
args << "--with-libsodium" if build.with? 'libsodium'
|
||||
args << "--with-libsodium" if build.with? "libsodium"
|
||||
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue