From 512af75bc34011a6f7d3306a96865f954bf0e4b0 Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Mon, 16 May 2011 10:13:33 +0200 Subject: [PATCH] pax-construct 1.4 pax-construct is a popular set of scripts for working with OSGi projects. Signed-off-by: Adam Vandenberg --- Formula/pax-construct.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/pax-construct.rb diff --git a/Formula/pax-construct.rb b/Formula/pax-construct.rb new file mode 100644 index 0000000000..41a5e717f9 --- /dev/null +++ b/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