Skip to content

Instantly share code, notes, and snippets.

@jlyonsmith
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save jlyonsmith/e537bc7354ffd862b4ac to your computer and use it in GitHub Desktop.

Select an option

Save jlyonsmith/e537bc7354ffd862b4ac to your computer and use it in GitHub Desktop.
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