aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-25 05:24:46 +0100
committerJack Nagel2014-09-25 19:14:36 -0500
commitdba6ae21de0179f935a8ba04bf1abc12a6cc8793 (patch)
tree93ba6aab5367dd892a9e4f5b5647d478632acefa /Library/Formula
parentc19c2c68c76c1ffd5231df43bf08124551c8d0bd (diff)
downloadhomebrew-dba6ae21de0179f935a8ba04bf1abc12a6cc8793.tar.bz2
Libsodium 1.0.0
Version bump from 0.7.1 to the big 1.0.0. Closes #32622. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libsodium.rb4
-rw-r--r--Library/Formula/zeromq.rb21
2 files changed, 13 insertions, 12 deletions
diff --git a/Library/Formula/libsodium.rb b/Library/Formula/libsodium.rb
index 35a412d9c..a6d7031f9 100644
--- a/Library/Formula/libsodium.rb
+++ b/Library/Formula/libsodium.rb
@@ -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
diff --git a/Library/Formula/zeromq.rb b/Library/Formula/zeromq.rb
index fa931fe53..416dfd7dd 100644
--- a/Library/Formula/zeromq.rb
+++ b/Library/Formula/zeromq.rb
@@ -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