2010-05-29 17:18:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libev < Formula
|
2010-05-29 17:18:57 +00:00
|
|
|
homepage 'http://software.schmorp.de/pkg/libev.html'
|
2013-04-17 22:39:10 +00:00
|
|
|
url 'http://dist.schmorp.de/libev/Attic/libev-4.15.tar.gz'
|
|
|
|
sha1 '88655b1e2c0b328c9f90a6df7e72361a97fa8dc3'
|
2010-05-29 17:18:57 +00:00
|
|
|
|
2014-07-03 12:32:21 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "fa05ffc6bb36aaccd04d233d2771217abb06613c" => :mavericks
|
|
|
|
sha1 "6b0a5a532691c1b32856db15966077f6f533f8ae" => :mountain_lion
|
|
|
|
sha1 "4d3015c11e6a90e0463978823d8fdba5b3a170af" => :lion
|
|
|
|
end
|
|
|
|
|
2010-05-29 17:18:57 +00:00
|
|
|
def install
|
2010-11-07 05:50:02 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-05-29 17:18:57 +00:00
|
|
|
"--prefix=#{prefix}",
|
2011-05-06 01:48:42 +00:00
|
|
|
"--mandir=#{man}"
|
2010-05-29 17:18:57 +00:00
|
|
|
system "make install"
|
2013-02-21 20:09:58 +00:00
|
|
|
|
|
|
|
# Remove compatibility header to prevent conflict with libevent
|
|
|
|
(include/"event.h").unlink
|
2010-05-29 17:18:57 +00:00
|
|
|
end
|
|
|
|
end
|