From d2711640542c5d98c41d9162c3cc201f9c4d312f Mon Sep 17 00:00:00 2001 From: Chris Smola Date: Tue, 25 Mar 2014 20:17:45 -0600 Subject: ANT Contrib Tasks 1.0b3 The popular ANT compliment, ant-contrib-1.0b3.jar Closes #27878. Signed-off-by: Adam Vandenberg --- Library/Formula/ant-contrib.rb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Library/Formula/ant-contrib.rb (limited to 'Library/Formula') diff --git a/Library/Formula/ant-contrib.rb b/Library/Formula/ant-contrib.rb new file mode 100644 index 000000000..f5811e229 --- /dev/null +++ b/Library/Formula/ant-contrib.rb @@ -0,0 +1,32 @@ +require "formula" + +class AntContrib < Formula + homepage "http://ant-contrib.sourceforge.net/" + url "https://downloads.sourceforge.net/project/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.tar.gz" + sha1 "05b74808d51f501a993457fb9b7871484acba901" + version "1.0b3" + + depends_on "ant" + + def install + libexec.install "lib", "ant-contrib-1.0b3.jar" + share.install "docs" + end + + test do + (testpath/"build.xml").write <<-EOS.undent + + + + + + + + + + + + EOS + system Formula["ant"].opt_bin/"ant", "-lib", libexec + end +end -- cgit v1.2.3