homebrew-core/Formula/libev.rb

18 lines
509 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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
2010-11-07 05:50:02 +00:00
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