c277ada40f
Closes Homebrew/homebrew#25763. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
20 lines
563 B
Ruby
20 lines
563 B
Ruby
require "formula"
|
|
|
|
class GmailBackup < Formula
|
|
homepage "http://www.gmail-backup.com/"
|
|
url "https://gmail-backup-com.googlecode.com/files/gmail-backup-20110307.tar.gz"
|
|
head "http://gmail-backup-com.googlecode.com/svn/trunk"
|
|
sha1 "561c467b3cf12fab47304eac153586954f06b88b"
|
|
|
|
def install
|
|
bin.install "gmail-backup.py" => "gmail-backup"
|
|
libexec.install Dir["*"]
|
|
|
|
ENV.prepend_path "PYTHONPATH", libexec
|
|
bin.env_script_all_files(libexec, :PYTHONPATH => ENV["PYTHONPATH"])
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/gmail-backup", "--help"
|
|
end
|
|
end
|