2011-01-19 05:47:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mosquitto < Formula
|
|
|
|
url 'http://mosquitto.org/files/source/mosquitto-0.9.3.tar.gz'
|
|
|
|
homepage 'http://mosquitto.org'
|
|
|
|
md5 'e40040533067a22be783af14d8f16a46'
|
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
2011-03-28 07:05:37 +00:00
|
|
|
def patches
|
|
|
|
# Fixes man page installation: in man/CMakeLists.txt,
|
|
|
|
# the parentheses around MANDEST should be braces.
|
|
|
|
{ :p1 => "https://bitbucket.org/oojah/mosquitto/changeset/fc5c83daefb0/raw/mosquitto-fc5c83daefb0.diff" }
|
|
|
|
end
|
|
|
|
|
2011-01-19 05:47:02 +00:00
|
|
|
def install
|
|
|
|
system "cmake . #{std_cmake_parameters}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|