2014-01-09 18:06:04 +00:00
|
|
|
class GmailBackup < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Backup and restore the content of your Gmail account"
|
2014-01-09 18:06:04 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "caf7cb40ea580e506f90a6029a64fedaf1234093c729ca7e6e36efbd709deb93"
|
2014-01-09 18:06:04 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2014-01-09 18:06:04 +00:00
|
|
|
system "#{bin}/gmail-backup", "--help"
|
|
|
|
end
|
|
|
|
end
|