mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
mosquitto 1.2
Closes #21769. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
fe68679807
commit
a05cc0a94d
1 file changed
+2
-7
@@ -2,8 +2,8 @@ require 'formula'
|
||||
|
||||
class Mosquitto < Formula
|
||||
homepage 'http://mosquitto.org/'
|
||||
url 'http://mosquitto.org/files/source/mosquitto-1.1.3.tar.gz'
|
||||
sha1 '38faf05f696b6a8183c6f5e06fdba78ffb632316'
|
||||
url 'http://mosquitto.org/files/source/mosquitto-1.2.tar.gz'
|
||||
sha1 'eb374899637310cfc785c661ec22117df496d949'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'cmake' => :build
|
||||
@@ -11,11 +11,6 @@ class Mosquitto < Formula
|
||||
depends_on 'openssl'
|
||||
|
||||
def install
|
||||
openssl = Formula.factory('openssl')
|
||||
|
||||
# specify brew-supplied OpenSSL libraries and includes
|
||||
inreplace "CMakeLists.txt", "set (OPENSSL_INCLUDE_DIR \"\")", "set (OPENSSL_INCLUDE_DIR \"#{openssl.include}\")\nset (OPENSSL_LIBRARIES \"#{openssl.lib}\")"
|
||||
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make install"
|
||||
|
||||
|
||||
Reference in new issue
Block a user