homebrew-core/Formula/s3cmd.rb

29 lines
778 B
Ruby

require 'formula'
class S3cmd < Formula
homepage 'http://s3tools.org/s3cmd'
url 'https://github.com/s3tools/s3cmd/archive/v1.0.1.tar.gz'
sha1 '98ef9ea9e2dc56ab98f84610883d3d371c65e43a'
head 'https://github.com/s3tools/s3cmd.git'
devel do
url 'https://github.com/s3tools/s3cmd/archive/v1.5.0-beta1.tar.gz'
sha1 '3b5c299518cdfdd4adb81e843514865742082e82'
version "1.5.0-beta1"
end
bottle do
cellar :any
revision 1
sha1 "7493692a3dc0b34a8d3a617bd4e36df9fed16226" => :mavericks
sha1 "5161ab336e7f34d8442b4a0c5964a99004ff03d9" => :mountain_lion
sha1 "198a88c5490cdc705fee324a131a44360c826f63" => :lion
end
def install
libexec.install 's3cmd', 'S3'
man1.install 's3cmd.1'
bin.install_symlink libexec+'s3cmd'
end
end