Skip to content

Instantly share code, notes, and snippets.

@katsyoshi
Created November 7, 2011 13:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katsyoshi/1344917 to your computer and use it in GitHub Desktop.
Save katsyoshi/1344917 to your computer and use it in GitHub Desktop.
PFI Common
require 'formula'
class Pficommon < Formula
head 'https://github.com/pfi/pficommon.git'
homepage ''
md5 ''
depends_on 'msgpack'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
def test
# This test will fail and we won't accept that! It's enough to just
# replace "false" with the main program this formula installs, but
# it'd be nice if you were more thorough. Test the test with
# `brew test pficommon`. Remove this comment before submitting
# your pull request!
system "false"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment