Last active
December 12, 2016 11:31
-
-
Save hellysmile/b734e7df40347b316dcfcd7cd1602b8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Libev < Formula | |
homepage 'http://software.schmorp.de/pkg/libev.html' | |
url 'http://dist.schmorp.de/libev/Attic/libev-4.23.tar.gz' | |
sha256 'c7fe743e0c3b50dd34bf222ebdba4e8acac031d41ce174f17890f8f84eeddd7a' | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment