homebrew-core/Formula/libev.rb
Jack Nagel 95c42cae73 libev: remove libevent compatibility header file
This file conflicts with the actual libevent; if someone actually needs
this it can be reinstated as an optional install.

Closes Homebrew/homebrew#17921.
2013-02-21 14:09:58 -06:00

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