s3cmd: use install_symlink

This commit is contained in:
Adam Vandenberg 2012-02-12 11:16:53 -08:00
parent f0b1b3901c
commit 583e6d13b8

View file

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