aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/s3cmd.rb
diff options
context:
space:
mode:
authorPierre Riteau2010-07-04 11:28:37 -0400
committerAdam Vandenberg2010-07-08 09:58:40 -0700
commit0d4732ac1360c4d1c4ee14d182fc5d488b0bf885 (patch)
tree95a8dfe6a99e838f7fa1de6c046fe320be2c480c /Library/Formula/s3cmd.rb
parentea1d162d6c3aadd491eabe06cfcd0e587326e571 (diff)
downloadhomebrew-0d4732ac1360c4d1c4ee14d182fc5d488b0bf885.tar.bz2
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
Diffstat (limited to 'Library/Formula/s3cmd.rb')
-rw-r--r--Library/Formula/s3cmd.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/s3cmd.rb b/Library/Formula/s3cmd.rb
new file mode 100644
index 000000000..3a5cb6a33
--- /dev/null
+++ b/Library/Formula/s3cmd.rb
@@ -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