aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Ponge2011-05-16 10:13:33 +0200
committerAdam Vandenberg2011-05-22 08:45:37 -0700
commitc6aa5b252ea88595a8867edb5d09a1ac5818e318 (patch)
tree6e5e8bb41d83c546265174134bd92ed24ec36022
parent72525f98f5139f6456a0f2568b4a1be466eb783f (diff)
downloadhomebrew-c6aa5b252ea88595a8867edb5d09a1ac5818e318.tar.bz2
pax-construct 1.4
pax-construct is a popular set of scripts for working with OSGi projects. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/pax-construct.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/pax-construct.rb b/Library/Formula/pax-construct.rb
new file mode 100644
index 000000000..41a5e717f
--- /dev/null
+++ b/Library/Formula/pax-construct.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class PaxConstruct < Formula
+ url 'http://repo1.maven.org/maven2/org/ops4j/pax/construct/scripts/1.4/scripts-1.4.zip'
+ homepage 'http://wiki.ops4j.org/display/paxconstruct/Pax+Construct'
+ md5 '069b00a8073ca76b42d7b743c09d577f'
+
+ skip_clean :all
+
+ def install
+ rm_rf Dir['bin/*.bat']
+ libexec.install Dir['*']
+ bin.mkpath
+ Dir["#{libexec}/bin/*"].each do |f|
+ ln_s f, bin
+ chmod 0755, (bin + File.basename(f))
+ end
+ end
+end