Last active
August 29, 2015 14:15
-
-
Save jlyonsmith/e537bc7354ffd862b4ac to your computer and use it in GitHub Desktop.
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
| require 'formula' | |
| class Soapbox < Formula | |
| homepage "http://github.com/jlyonsmith/Soapbox" | |
| url "https://s3-us-west-2.amazonaws.com/jlyonsmith/Soapbox-1.0.20302.tar.gz" | |
| sha1 "b146ce78122a19ec104e9bf6be73fd0c1ef9acd4" | |
| def install | |
| mono_path = `/usr/bin/which mono`.strip | |
| if mono_path.size == 0 || `#{mono_path} --version`.index(/3\./) == nil | |
| onoe "You have to install mono 3.x first.\n" +\ | |
| "You can find the framework release at http://www.go-mono.com/mono-downloads/download.html" | |
| end | |
| system "make install PREFIX=#{prefix}" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment