aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ack.rb
blob: 29df05ed32195a0c9169b6c7dc38bff898ecf5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'brewkit'

class Ack <ScriptFileFormula
  # 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'
  @url="http://ack.googlecode.com/svn/tags/#{@version}/ack"
  @md5='d15d059166beff6103d2401aa2d783c7'
  @homepage='http://betterthangrep.com/'

  # because our url looks like a svn one Homebrew defaults to the svn strategy
  def download_strategy
    HttpDownloadStrategy
  end
end