2011-02-27 20:52:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MavenShell < Formula
|
2011-02-27 20:52:00 +00:00
|
|
|
homepage 'http://shell.sonatype.org/'
|
2012-02-12 22:40:52 +00:00
|
|
|
url 'http://repo1.maven.org/maven2/org/sonatype/maven/shell/dist/mvnsh-assembly/1.0.1/mvnsh-assembly-1.0.1-bin.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'c8c7487689c53c1140d45d830c9e6d7d39f942c4'
|
2011-02-27 20:52:00 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# Remove windows files.
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2011-02-27 20:52:00 +00:00
|
|
|
libexec.install Dir['*']
|
2012-11-11 19:20:09 +00:00
|
|
|
bin.install_symlink libexec/"bin/mvnsh"
|
2011-02-27 20:52:00 +00:00
|
|
|
end
|
|
|
|
end
|