Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the pipol build scripts
[simgrid.git] / buildtools / pipol / ruby.pl
diff --git a/buildtools/pipol/ruby.pl b/buildtools/pipol/ruby.pl
deleted file mode 100644 (file)
index d27264c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl -w
-use strict;
-my($ruby_version);
-if( -e "/usr/bin/apt-get")
-{
-       $ruby_version = `apt-cache search ruby1.9.1-dev`;
-       
-       if( $ruby_version=~ /^$/){
-       $ruby_version = `apt-cache search ruby1.9-dev`;
-       }
-       
-       if( $ruby_version=~ /^$/){
-       return;
-       }
-       
-       $ruby_version =~ s/-dev.*//g;
-       chomp $ruby_version;
-       
-       print "ruby to install $ruby_version $ruby_version-dev\n";
-       `sudo apt-get install -y $ruby_version $ruby_version-dev`;
-       `sudo ln -sf /usr/bin/$ruby_version /usr/bin/ruby`;
-       
-       $ruby_version=~ s/-dev//g;
-       $ruby_version=~ s/ruby/ruby\*/g;
-       my($ruby_lib)=`ls /usr/lib/lib$ruby_version.so`;
-       chomp $ruby_lib;
-       `sudo ln -sf "$ruby_lib" /usr/lib/libruby.so`;
-}
-
-$ruby_version=`ruby --version`;
-print "ruby = $ruby_version";
-print "libruby = ".`ls /usr/lib/libruby.so`;
\ No newline at end of file