From 3c834fd67ce41355c4bd4596d936e4bda3c68cce Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 22 May 2009 14:02:30 +0100 Subject: [PATCH] Template for new formulae --- Formula/__template.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Formula/__template.rb diff --git a/Formula/__template.rb b/Formula/__template.rb new file mode 100644 index 0000000000..2d7ba24070 --- /dev/null +++ b/Formula/__template.rb @@ -0,0 +1,11 @@ +$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks +require 'brewkit' + +homepage='' +url='' +md5='' # leave this blank and brewkit will error out, but show you the md5 + +Formula.new(url, md5).brew do |prefix| + system "./configure --disable-debug --prefix='#{prefix}'" + system "make install" # if this fails, split into two steps +end \ No newline at end of file