Last active
March 20, 2016 01:53
-
-
Save daz/5411271 to your computer and use it in GitHub Desktop.
live-f1 libevent for Homebrew
This file contains hidden or 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
| # git clone https://gist.github.com/daz/5411271 live-f1-recipe | |
| # brew install live-f1-recipe/live-f1.rb | |
| require 'formula' | |
| class LiveF1 < Formula | |
| homepage 'https://launchpad.net/live-f1' | |
| version '0.2.11-libevent' | |
| url 'https://github.com/daz/live-f1/archive/libevent.zip' | |
| sha1 '1fa0dbfadf2d144a1f9af8a075822de7fd324bde' | |
| depends_on 'autoconf' => :build | |
| depends_on 'automake' => :build | |
| depends_on 'pkg-config' => :build | |
| depends_on 'gettext' => :build | |
| depends_on 'libevent' | |
| def install | |
| system 'autoreconf -i' | |
| system './configure', '--disable-debug', '--disable-dependency-tracking', | |
| "--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
Small problem with a fresh install of OS X Yosemite (and maybe previous too), to install xz must be installed. Might be good to add
depends_on 'xz'to the list 😄