Template for new formulae

This commit is contained in:
Max Howell 2009-05-22 14:02:30 +01:00
parent c4608279af
commit 3c834fd67c

11
Formula/__template.rb Normal file
View File

@ -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