Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/tags/RELEASE_1_3_3/install.rb

Revision 167, 0.7 kB (checked in by nakahiro, 7 years ago)

SOAP4R Installer by Michael Neumann.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to author date id revision
Line 
1 #!/usr/bin/env ruby
2 #
3 # Installer for SOAP4R
4 # Copyright (C) 2001 Michael Neumann.
5 #
6 # From: Michael Neumann <neumann@s-direktnet.de>
7 # Message-ID: <20010703221736.A20714@michael.neumann.all>
8 # Date: Tue, 3 Jul 2001 22:17:36 +0200
9
10 require "rbconfig"
11 require "ftools"
12 include Config
13
14 RV = CONFIG["MAJOR"] + "." + CONFIG["MINOR"]
15 DSTPATH = CONFIG["sitedir"] + "/" +  RV
16
17 begin
18   File.mkpath DSTPATH + "/soap", true
19  
20   Dir["lib/soap/*.rb"].each do |name|
21     File.install name, "#{DSTPATH}/soap/#{File.basename name}", 0644, true
22   end
23
24   Dir["redist/*.rb"].each do |name|
25     File.install name, "#{DSTPATH}/#{File.basename name}", 0644, true
26   end
27
28 rescue
29   puts "install failed!"
30   puts $!
31 else
32   puts "install succeed!"
33 end
Note: See TracBrowser for help on using the browser.