New formula: s3cmd

S3cmd is a command line tool for uploading, retrieving and managing
data in Amazon S3. It is best suited for power users who don't fear
command line. It is also ideal for scripts, automated backups
triggered from cron, etc.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Install privately to libexec
This commit is contained in:
Pierre Riteau 2010-07-04 11:28:37 -04:00 committed by Adam Vandenberg
parent 329f91ceaa
commit 57cd5ed65a

14
Formula/s3cmd.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class S3cmd <Formula
url 'http://downloads.sourceforge.net/project/s3tools/s3cmd/0.9.9.91/s3cmd-0.9.9.91.tar.gz'
homepage 'http://s3tools.org/s3cmd'
md5 '0b8334ab4ffb1e09d6964861dc001e0f'
def install
libexec.install Dir['s3cmd', 'S3']
man1.install 's3cmd.1'
bin.mkpath
ln_s libexec+'s3cmd', bin
end
end