require 'formula' class S3cmd < Formula homepage 'http://s3tools.org/s3cmd' url 'https://github.com/s3tools/s3cmd/archive/v1.0.1.zip' sha1 '4a6f7bfb9300b728ca466967b91aa07521ef6f80' head 'https://github.com/s3tools/s3cmd.git' devel do url 'https://github.com/s3tools/s3cmd/archive/v1.5.0-beta1.zip' sha1 'ce5738c8d389b705b5a1283da6356df92673863b' version "1.5.0-beta1" end bottle do cellar :any sha1 "6504b103e65ce2dfdde9220a0f2b9033bf90bb5f" => :mavericks sha1 "59fbbbfc85dba185128e69b03f2c73ec96653bf9" => :mountain_lion sha1 "54e4d1c752eb3da312d05ce507d4979e8edb898f" => :lion end def install libexec.install 's3cmd', 'S3' man1.install 's3cmd.1' bin.install_symlink libexec+'s3cmd' end end