aboutsummaryrefslogtreecommitdiffstats
path: root/Formula
diff options
context:
space:
mode:
authorMax Howell2009-05-22 14:02:30 +0100
committerMax Howell2009-05-22 16:23:13 +0100
commit3c834fd67ce41355c4bd4596d936e4bda3c68cce (patch)
tree1731aab2866e33ece1c56f51cd3d24a14e598a4e /Formula
parentc4608279afc59aa6418ce7ebb3369b3e6dc631fb (diff)
downloadbrew-3c834fd67ce41355c4bd4596d936e4bda3c68cce.tar.bz2
Template for new formulae
Diffstat (limited to 'Formula')
-rw-r--r--Formula/__template.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Formula/__template.rb b/Formula/__template.rb
new file mode 100644
index 000000000..2d7ba2407
--- /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