2011-04-23 15:25:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Cliweather < Formula
|
2011-08-13 00:35:22 +00:00
|
|
|
url 'http://pub.lambda.ath.cx/patrick/cliweather/static/downloads/cliweather-2011.05.05.tar.gz'
|
2011-04-23 15:25:22 +00:00
|
|
|
homepage 'http://closure.ath.cx/cliweather'
|
2011-08-13 00:35:22 +00:00
|
|
|
md5 'faf9f16e86e48906708b07f381cedebc'
|
2011-04-23 15:25:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "cliweather"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/cliweather", "98027"
|
2011-04-23 15:25:22 +00:00
|
|
|
end
|
|
|
|
end
|