mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-05 17:42:42 -05:00
Add license from upstream https://github.com/Homebrew/homebrew-core/blob/534e8b29275f37c16bd9e6ff05deacc387601847/Formula/lib/libev.rb
23 lines
705 B
Ruby
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
|