2009-06-04 18:21:19 +00:00
|
|
|
require 'brewkit'
|
|
|
|
|
2009-06-05 22:39:56 +00:00
|
|
|
class Ack <ScriptFileFormula
|
2009-09-11 15:26:16 +00:00
|
|
|
# NOTE you don't need to specify the version, usually it is determined
|
|
|
|
# automatically by examination of the URL, however in this case our auto
|
|
|
|
# determination magic is inadequete
|
|
|
|
@version='1.90'
|
2009-08-07 14:41:43 +00:00
|
|
|
@url="http://ack.googlecode.com/svn/tags/#{@version}/ack"
|
2009-09-11 15:26:16 +00:00
|
|
|
@md5='d15d059166beff6103d2401aa2d783c7'
|
2009-08-07 14:41:43 +00:00
|
|
|
@homepage='http://betterthangrep.com/'
|
2009-09-11 15:26:16 +00:00
|
|
|
|
2009-08-29 13:15:22 +00:00
|
|
|
# because our url looks like a svn one Homebrew defaults to the svn strategy
|
2009-08-11 21:19:23 +00:00
|
|
|
def download_strategy
|
|
|
|
HttpDownloadStrategy
|
|
|
|
end
|
2009-06-04 18:21:19 +00:00
|
|
|
end
|