95c42cae73
This file conflicts with the actual libevent; if someone actually needs this it can be reinstated as an optional install. Closes Homebrew/homebrew#17921.
17 lines
509 B
Ruby
17 lines
509 B
Ruby
require 'formula'
|
|
|
|
class Libev < Formula
|
|
homepage 'http://software.schmorp.de/pkg/libev.html'
|
|
url 'http://dist.schmorp.de/libev/Attic/libev-4.11.tar.gz'
|
|
sha1 'e7752a518742c0f8086a8005aa7efcc4dcf02ed9'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make install"
|
|
|
|
# Remove compatibility header to prevent conflict with libevent
|
|
(include/"event.h").unlink
|
|
end
|
|
end
|