From 60670cd1d7024ecbcaa1e5a89880d75b230614de Mon Sep 17 00:00:00 2001 From: Jesse Storimer Date: Mon, 1 Feb 2010 16:26:52 -0500 Subject: [PATCH] Added lorem ipsum generator! Signed-off-by: Adam Vandenberg * Use file from Google Code, not the gist. --- Formula/lorem.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/lorem.rb diff --git a/Formula/lorem.rb b/Formula/lorem.rb new file mode 100644 index 0000000000..292f8a6b87 --- /dev/null +++ b/Formula/lorem.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Lorem < Formula + url 'http://lorem.googlecode.com/svn-history/r4/trunk/lorem' + version '0.6.1' + homepage 'http://code.google.com/p/lorem/' + md5 '1246debbcb718aa56935e52136df17e8' + + aka 'ipsum' + + def download_strategy; CurlDownloadStrategy; end + + def install + inreplace "lorem", "!/usr/bin/python", "!/usr/bin/env python" + bin.install "lorem" + end +end