Files
tigerbrew/Library/Formula/libev.rb

23 lines
705 B
Ruby

class Libev < Formula
desc "Asynchronous event library"
homepage "http://software.schmorp.de/pkg/libev.html"
url "http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz"
mirror "https://fossies.org/linux/misc/libev-4.33.tar.gz"
sha256 "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"
license any_of: ["BSD-2-Clause", "GPL-2.0-or-later"]
bottle do
cellar :any
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