homebrew-core/Formula/libev.rb

25 lines
690 B
Ruby

require 'formula'
class Libev < Formula
homepage 'http://software.schmorp.de/pkg/libev.html'
url 'http://dist.schmorp.de/libev/Attic/libev-4.15.tar.gz'
sha1 '88655b1e2c0b328c9f90a6df7e72361a97fa8dc3'
bottle do
cellar :any
revision 1
sha1 "ed65bae24001a65df1be2e2aea664af1a07b1fed" => :yosemite
sha1 "76a348a71741db6ab9dd7420a7ede73b150bb0c9" => :mavericks
end
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