lib/deprec/recipes/ree.rb in isaac-deprec-1.99.30 vs lib/deprec/recipes/ree.rb in isaac-deprec-1.99.32
- old
+ new
@@ -1,31 +1,32 @@
# Copyright 2006-2008 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do
+ set :ree_version, "ruby-enterprise-1.8.6-20090113"
+ set :ree_install_dir, "/opt/ree"
+ set :ree_filename, "#{ree_version}.tar.gz"
+
namespace :deprec do
namespace :ree do
- set :ree_version, "ruby-enterprise-1.8.6-20081217"
- set :ree_install_dir, "/opt/#{ree_version}"
- set :ree_filename, "#{ree_version}.tar.gz"
-
SRC_PACKAGES[:ree] = {
- :md5sum => "8d04b48e33a485280b86d6cdb156eebe #{ree_filename}",
- :url => "http://github.com/isaac/rubyenterpriseedition/raw/release/#{ree_filename}",
+ :filename => ree_filename,
+ :md5sum => "e8d796a5bae0ec1029a88ba95c5d901d #{ree_filename}",
+ :url => "http://rubyforge.org/frs/download.php/50087/#{ree_filename}",
:unpack => "tar xzvf #{ree_filename};",
:configure => '',
:make => '',
:install => "./installer --auto #{ree_install_dir}"
}
-
+
task :install do
install_deps
- deprec2.download_src(SRC_PACKAGES[:ree], ree_install_dir)
- deprec2.install_from_src(SRC_PACKAGES[:ree], ree_install_dir)
+ deprec2.download_src(SRC_PACKAGES[:ree], src_dir)
+ deprec2.install_from_src(SRC_PACKAGES[:ree], src_dir)
end
task :install_deps do
- apt.install({:base => %w(zlib1g-dev libssl-dev libmysqlclient15-dev libreadline5-dev)}, :stable)
+ apt.install({:base => %w(libssl-dev libmysqlclient15-dev libreadline5-dev)}, :stable)
end
end
end
\ No newline at end of file