Last active
August 29, 2015 14:04
-
-
Save jsnuggle/eba987bbbeae9a1383e3 to your computer and use it in GitHub Desktop.
Clone of danslo libeventfb.rb with corrected path to hhvm
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 Libeventfb < Formula | |
homepage 'http://libevent.org/' | |
url 'https://github.com/libevent/libevent.git', :tag => 'release-1.4.14b-stable' | |
version '1.4.14b' | |
keg_only 'We are just a patched version.' | |
depends_on :autoconf => :build | |
depends_on :automake | |
depends_on :libtool | |
def patches | |
"https://raw.githubusercontent.com/hhvm/hhvm-third-party/master/libevent-1.4.14.fb-changes.diff" | |
end | |
def install | |
ENV.j1 | |
system "./autogen.sh" | |
system "./configure", "--prefix=#{prefix}" | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment