aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNavin Peiris2011-10-26 20:42:40 +1100
committerJack Nagel2011-11-02 17:56:43 -0500
commit1013ac2e6920f942d267cbe831a37416540b5784 (patch)
tree879f5101844a01bdc1bfcbe70e9bbe198b806ffd /Library
parent00cdc0dd8e9f7fb4e7c35ad9af70fe371dfe00d4 (diff)
downloadhomebrew-1013ac2e6920f942d267cbe831a37416540b5784.tar.bz2
New formula: fastjar
An implementation of Sun's jar utility in C. Closes #8307. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fastjar.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/fastjar.rb b/Library/Formula/fastjar.rb
new file mode 100644
index 000000000..d05805de1
--- /dev/null
+++ b/Library/Formula/fastjar.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Fastjar < Formula
+ url 'https://downloads.sourceforge.net/project/fastjar/fastjar/0.94/fastjar-0.94.tar.gz'
+ homepage 'http://sourceforge.net/projects/fastjar/'
+ md5 '14d4bdfac236e347d806c6743dba48c6'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "fastjar -V"
+ system "grepjar -V"
+ end
+end