[Catalyst-commits] r10388 - trunk/examples/SmokeServer/script
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Sat May 30 10:57:33 GMT 2009
Author: caelum
Date: 2009-05-30 10:57:32 +0000 (Sat, 30 May 2009)
New Revision: 10388
Modified:
trunk/examples/SmokeServer/script/cpan_installdeps.pl
Log:
smoker dep installer improvements
Modified: trunk/examples/SmokeServer/script/cpan_installdeps.pl
===================================================================
--- trunk/examples/SmokeServer/script/cpan_installdeps.pl 2009-05-30 09:57:47 UTC (rev 10387)
+++ trunk/examples/SmokeServer/script/cpan_installdeps.pl 2009-05-30 10:57:32 UTC (rev 10388)
@@ -31,6 +31,24 @@
# make sure we have the latest CPAN to get 'notest'
CPAN::Shell->install('CPAN');
+# install some deps if on Debian (add to this list if needed)
+if (-f '/etc/debian_version') {
+ system 'sudo apt-get -y install libmath-bigint-gmp-perl libtidy-dev \
+ perlmagick libxslt1-dev libgd2-xpm-dev libgdbm-dev libxapian-dev \
+ libmemcached-dev libcache-memcached-perl';
+}
+
+# Math::Pari prompts unless you pass in an option
+{
+ local $CPAN::Config->{makepl_arg} = 'force_download';
+ CPAN::Shell->notest(install => 'Math::Pari');
+}
+
+# turn off manification for ->make
+#$CPAN::Config->{make_arg} = 'POD2MAN_EXE=/bin/true';
+$CPAN::Config->{makepl_arg} = 'INSTALLMAN1DIR=none INSTALLMAN3DIR=none';
+$CPAN::Config->{buildpl_arg} = '--install_path libdoc="" --install_path bindoc=""';
+
for my $dist (@dists) {
chdir "$dir/$dist";
More information about the Catalyst-commits
mailing list