mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Template for new formulae
This commit is contained in:
parent
c4608279af
commit
3c834fd67c
11
Formula/__template.rb
Normal file
11
Formula/__template.rb
Normal 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
|
Loading…
x
Reference in New Issue
Block a user